| java.lang.Object org.apache.openjpa.util.StoreFacadeTypeRegistry
StoreFacadeTypeRegistry | public class StoreFacadeTypeRegistry (Code) | | Repository of store-specific facade classes. This is used by facade
implementations to wrap store-specific components without knowing
about all possible back-ends.
|
getImplementation | public Class getImplementation(Class facadeType, Class storeType)(Code) | | Return the implementation for the given facade and store.
Parameters: facadeType - the facade interface Parameters: storeType - the store's org.apache.openjpa.kernel.StoreManager type, or null for generic Parameters: implType - the registered implementor |
getImplementation | public Class getImplementation(Class facadeType, Class storeType, Class defaultType)(Code) | | Return the implementation for the given facade and store. If no
registered implementation is found then returns the given default type
provided it the facade type is assignable from the deafult type.
Parameters: facadeType - the facade interface Parameters: storeType - the store's org.apache.openjpa.kernel.StoreManager type, or null for generic Parameters: implType - the registered implementor Parameters: defaultType - class if no registered implementation is available. |
registerImplementation | public void registerImplementation(Class facadeType, Class storeType, Class implType)(Code) | | Register a facade implementation.
Parameters: facadeType - the facade interface Parameters: storeType - the store's org.apache.openjpa.kernel.StoreManager type, or null for generic Parameters: implType - the class implementing the facade |
|
|