org.openspaces.core.config
Class SQLQueryFactoryBean
java.lang.Object
  
org.openspaces.core.config.SQLQueryFactoryBean
- All Implemented Interfaces: 
 - FactoryBean, InitializingBean
 
public class SQLQueryFactoryBean
- extends Object
- implements FactoryBean, InitializingBean
  
A helper factory beans for SQLQuery so namespace based
 configuration will be simpler.
- Author:
 
  - kimchy
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SQLQueryFactoryBean
public SQLQueryFactoryBean()
setWhere
public void setWhere(String where)
 
 
getWhere
protected String getWhere()
 
 
setTemplate
public void setTemplate(Object template)
 
 
getTemplate
protected Object getTemplate()
 
 
setType
public void setType(Class<Object> clazz)
 
 
getType
protected Class<Object> getType()
 
 
setClassName
public void setClassName(String className)
 
 
getClassName
protected String getClassName()
 
 
afterPropertiesSet
public void afterPropertiesSet()
                        throws Exception
- Specified by:
 afterPropertiesSet in interface InitializingBean
 
- Throws:
 Exception
 
validate
protected void validate()
                 throws IllegalArgumentException
 
- Throws:
 IllegalArgumentException
 
getObject
public Object getObject()
                 throws Exception
- Specified by:
 getObject in interface FactoryBean
 
- Throws:
 Exception
 
getObjectType
public Class<SQLQuery> getObjectType()
- Specified by:
 getObjectType in interface FactoryBean
 
 
isSingleton
public boolean isSingleton()
- Specified by:
 isSingleton in interface FactoryBean
 
 
Copyright © GigaSpaces.