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 InitializingBeanExceptionprotected void validate()
throws IllegalArgumentException
IllegalArgumentExceptionpublic Object getObject() throws Exception
getObject in interface FactoryBeanExceptionpublic Class<SQLQuery> getObjectType()
getObjectType in interface FactoryBeanpublic boolean isSingleton()
isSingleton in interface FactoryBeanCopyright © GigaSpaces.