|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.util.StoreFacadeTypeRegistry
public class StoreFacadeTypeRegistry
Repository of store-specific facade classes. This is used by facade implementations to wrap store-specific components without knowing about all possible back-ends.
| Constructor Summary | |
|---|---|
StoreFacadeTypeRegistry()
|
|
| Method Summary | |
|---|---|
Class |
getImplementation(Class facadeType,
Class storeType)
Return the implementation for the given facade and store. |
Class |
getImplementation(Class facadeType,
Class storeType,
Class defaultType)
Return the implementation for the given facade and store. |
void |
registerImplementation(Class facadeType,
Class storeType,
Class implType)
Register a facade implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoreFacadeTypeRegistry()
| Method Detail |
|---|
public void registerImplementation(Class facadeType,
Class storeType,
Class implType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the class implementing the facade
public Class getImplementation(Class facadeType,
Class storeType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the registered implementor
public Class getImplementation(Class facadeType,
Class storeType,
Class defaultType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the registered implementordefaultType - class if no registered implementation is available.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||