|
||||||||||
| 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 | |
|---|---|
java.lang.Class |
getImplementation(java.lang.Class facadeType,
java.lang.Class storeType)
Return the implementation for the given facade and store. |
java.lang.Class |
getImplementation(java.lang.Class facadeType,
java.lang.Class storeType,
java.lang.Class defaultType)
Return the implementation for the given facade and store. |
void |
registerImplementation(java.lang.Class facadeType,
java.lang.Class storeType,
java.lang.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(java.lang.Class facadeType,
java.lang.Class storeType,
java.lang.Class implType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the class implementing the facade
public java.lang.Class getImplementation(java.lang.Class facadeType,
java.lang.Class storeType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the registered implementor
public java.lang.Class getImplementation(java.lang.Class facadeType,
java.lang.Class storeType,
java.lang.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 | |||||||||