public class StoreFacadeTypeRegistry extends Object
| Constructor and Description |
|---|
StoreFacadeTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 facadepublic Class getImplementation(Class facadeType, Class storeType)
facadeType - the facade interfacestoreType - the store's
StoreManager type, or null for genericimplType - the registered implementorpublic 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.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.