public class SQLQueryFactoryBean extends Object implements FactoryBean, InitializingBean
SQLQuery
so namespace based
configuration will be simpler.Constructor and Description |
---|
SQLQueryFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected String |
getClassName() |
Object |
getObject() |
Class<SQLQuery> |
getObjectType() |
String |
getProjections() |
protected Object |
getTemplate() |
protected Class<Object> |
getType() |
protected String |
getWhere() |
boolean |
isSingleton() |
void |
setClassName(String className) |
void |
setProjections(String projections) |
void |
setTemplate(Object template) |
void |
setType(Class<Object> clazz) |
void |
setWhere(String where) |
protected void |
validate() |
public void setWhere(String where)
protected String getWhere()
public void setTemplate(Object template)
protected Object getTemplate()
public void setClassName(String className)
protected String getClassName()
public String getProjections()
public void setProjections(String projections)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected void validate() throws IllegalArgumentException
IllegalArgumentException
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
public Class<SQLQuery> getObjectType()
getObjectType
in interface FactoryBean
public boolean isSingleton()
isSingleton
in interface FactoryBean
Copyright © GigaSpaces.