|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wlcp.wlng.api.storage.StoreFactory
Store factory class. Used to retrieve pre-configured stores and add listeners for stores.
Field Summary | |
protected static String |
DEFAULT_FACTORY_CLASS |
protected static String |
FACTORY_CLASS |
protected static String |
FACTORY_CLASS_PROPERTY |
protected static StoreFactory |
instance |
Constructor Summary | |
StoreFactory() |
Method Summary | |
static StoreFactory |
getInstance() Get store factory instance. |
abstract Store |
getStore(Class keyClass, Class valueClass) Get reference to a preconfigured store. |
abstract Store |
getStore(String name, ClassLoader classloader) Get a reference to a preconfigured store. |
protected abstract void |
initialize() Initializes the store factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String DEFAULT_FACTORY_CLASS
protected static final String FACTORY_CLASS
protected static final String FACTORY_CLASS_PROPERTY
protected static volatile StoreFactory instance
Constructor Detail |
public StoreFactory()
Method Detail |
public static final StoreFactory getInstance()
public abstract Store getStore(Class keyClass, Class valueClass) throws StorageException
keyClass
- The class of the store key entries. Should be a primitive type.valueClass
- The class of the store value entries. The class is required to have a public default (no argument) constructor. The value class should be a class that uniquely identifies the store.StorageException
- If the store could not be initialized.public abstract Store getStore(String name, ClassLoader classloader) throws StorageException
name
- The store name.classloader
- The classloader to use for store entries.StorageException
- If the store could not be initialized.protected abstract void initialize()
|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |