net.sf.sido.spring
Class DOFactoryLoader
java.lang.Object
net.sf.sido.spring.DOFactoryLoader
public class DOFactoryLoader
- extends Object
Loads the DOFactory and sets it as a default. If no DOFactory
is defined in the context, it will create one according to the given parameters. If no DataFactory
is provided to create this DOFactory, a typed factory
is created.
|
Constructor Summary |
DOFactoryLoader(org.springframework.context.ApplicationContext applicationContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOFactoryLoader
public DOFactoryLoader(org.springframework.context.ApplicationContext applicationContext)
load
@PostConstruct
public void load()
getDOFactory
protected DOFactory getDOFactory()
getDataFactory
protected DataFactory getDataFactory()
createDataFactory
protected DataFactory createDataFactory()
getByType
protected <T> T getByType(Class<T> type)
getDefaultDOFactory
public DOFactory getDefaultDOFactory()
setDefaultDOFactory
public void setDefaultDOFactory(DOFactory defaultDOFactory)
getDefaultDataFactory
public DataFactory getDefaultDataFactory()
setDefaultDataFactory
public void setDefaultDataFactory(DataFactory defaultDataFactory)
Copyright © 2011. All Rights Reserved.