public interface StoreFactory extends KeyResolver, XMLizable
StoreFactory
is the interface which should be implemented by all
the Store
factory implementations.
Store
is an external
entity that promotion depends upon. An implementation of this interface is
responsible for looking up and instantiating the Store external
entity. The implementation must be registered with the
ExternalEntityFactoryRegistry
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
Store |
getStore(StoreKey key)
This method returns the
Store object having this StoreKey . |
lookup, reverseLookup
static final java.lang.String COPYRIGHT
Store getStore(StoreKey key) throws DependencyInstantiationException, DependencyMissingException
Store
object having this StoreKey
.key
- StoreKey
Store
object corresponding to the key.DependencyInstantiationException
- is thrown when an error is encountered on store instantiation.DependencyMissingException
- is thrown when the store to get does not exist.