public class DaoFactory<T extends LexGridSchemaVersionAwareDao>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DaoFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
LexGridSchemaVersion |
getLexGridSchemaVersion()
Gets the lex grid schema version.
|
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
java.util.List<T> |
getVersionableDaos()
Gets the versionable daos.
|
boolean |
isSingleton() |
void |
setLexGridSchemaVersion(LexGridSchemaVersion lexGridSchemaVersion)
Sets the lex grid schema version.
|
void |
setVersionableDaos(java.util.List<T> versionableDaos)
Sets the versionable daos.
|
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public java.util.List<T> getVersionableDaos()
public void setVersionableDaos(java.util.List<T> versionableDaos)
versionableDaos
- the new versionable daospublic void setLexGridSchemaVersion(LexGridSchemaVersion lexGridSchemaVersion)
lexGridSchemaVersion
- the new lex grid schema versionpublic LexGridSchemaVersion getLexGridSchemaVersion()