|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.base.Adaptee
org.norther.tammi.core.base.DefaultObjectFactory
org.norther.tammi.core.security.DefaultKeyStoreFactory
public class DefaultKeyStoreFactory
A default implementation of KeyStoreFactory.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
DefaultKeyStoreFactory()
Constructs a key store factory. |
|
| Method Summary | |
|---|---|
void |
addProvider(Provider provider)
Adds a new security provider. |
String |
getDefaultProvider()
Gets the default key store provider. |
String |
getDefaultType()
Gets the default key store type. |
Object |
getInstance(String className,
ObjectName loader,
Object[] params,
String[] signature)
Gets an instance of a named class using a specified class loader. |
boolean |
isLoaderSupported(String className)
Checks if specified class loaders are supported for a named class. |
void |
setDefaultProvider(String provider)
Sets the default key store provider. |
void |
setDefaultType(String type)
Sets the default key store type. |
| Methods inherited from class org.norther.tammi.core.base.DefaultObjectFactory |
|---|
getInstance, getInstance, getInstance |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
|---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.core.base.ObjectFactory |
|---|
getInstance, getInstance, getInstance |
| Constructor Detail |
|---|
public DefaultKeyStoreFactory()
| Method Detail |
|---|
public String getDefaultType()
KeyStoreFactory
getDefaultType in interface KeyStoreFactorypublic void setDefaultType(String type)
KeyStoreFactory
setDefaultType in interface KeyStoreFactorytype - the type.public String getDefaultProvider()
KeyStoreFactory
getDefaultProvider in interface KeyStoreFactorypublic void setDefaultProvider(String provider)
KeyStoreFactory
setDefaultProvider in interface KeyStoreFactoryprovider - the provider.public void addProvider(Provider provider)
KeyStoreFactory
addProvider in interface KeyStoreFactoryprovider - the provider.
public Object getInstance(String className,
ObjectName loader,
Object[] params,
String[] signature)
throws ConstructionException
ObjectFactoryClass loaders are supported only if the isLoaderSupported method returns true. Otherwise the loader parameter is ignored.
getInstance in interface ObjectFactorygetInstance in class DefaultObjectFactoryclassName - the name of the class.loader - the class loader.params - an array containing the parameters of the constructor.signature - an array containing the signature of the constructor.
ConstructionException - if construction fails.public boolean isLoaderSupported(String className)
ObjectFactory
isLoaderSupported in interface ObjectFactoryisLoaderSupported in class DefaultObjectFactoryclassName - the name of the class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||