public final class DBBeanFactoryCache extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
DBBeanFactoryCache() |
| Modifier and Type | Method and Description |
|---|---|
static <T> DBBeanListFactory<T> |
getFactoryForType(Class<T> beanType)
Returns the DBRowSet instance assigned to a particular Java bean type
|
static <T> void |
setFactoryForType(Class<?> beanType,
DBBeanListFactory<T> factory)
sets the DBRowSet instance assigned to a particular Java bean type
|
static void |
setMapImplementation(Map<Class<?>,DBBeanListFactory<?>> map)
Allows to provide a different implementation of the bean factory map
|
public static void setMapImplementation(Map<Class<?>,DBBeanListFactory<?>> map)
map - the map to usepublic static <T> DBBeanListFactory<T> getFactoryForType(Class<T> beanType)
beanType - the Java bean typepublic static <T> void setFactoryForType(Class<?> beanType, DBBeanListFactory<T> factory)
beanType - the Java bean typeCopyright © 2008–2023 Apache Software Foundation. All rights reserved.