public class StoreFacadeTypeRegistry
extends java.lang.Object
| Constructor and Description |
|---|
StoreFacadeTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 facadepublic 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 implementorpublic 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.Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.