public class SQLQueryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.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 org.springframework.beans.factory.InitializingBeanExceptionprotected void validate()
throws IllegalArgumentException
IllegalArgumentExceptionpublic Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class<SQLQuery> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © GigaSpaces.