|
Oracle Communications Services Gatekeeper Java API Reference 6.1 E65002-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlcp.wlng.api.storage.StoreFactory
Store factory class. Used to retrieve pre-configured stores and add listeners for stores.
Field Summary | |
protected static java.lang.String |
DEFAULT_FACTORY_CLASS
|
protected static java.lang.String |
FACTORY_CLASS
|
protected static java.lang.String |
FACTORY_CLASS_PROPERTY
|
protected static StoreFactory |
instance
|
Constructor Summary | |
StoreFactory()
|
Method Summary | |
protected static void |
changeStoreFactory(java.lang.String newStoreFactoryName)
Change store factory instance. |
static StoreFactory |
getInstance()
Get store factory instance. |
abstract Store |
getStore(java.lang.Class keyClass,
java.lang.Class valueClass)
Get reference to a preconfigured store. |
abstract Store |
getStore(java.lang.String name,
java.lang.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 java.lang.String DEFAULT_FACTORY_CLASS
protected static final java.lang.String FACTORY_CLASS
protected static final java.lang.String FACTORY_CLASS_PROPERTY
protected static volatile StoreFactory instance
Constructor Detail |
public StoreFactory()
Method Detail |
protected static final void changeStoreFactory(java.lang.String newStoreFactoryName)
public static final StoreFactory getInstance()
public abstract Store getStore(java.lang.Class keyClass, java.lang.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(java.lang.String name, java.lang.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.1 E65002-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |