public class IndexFactoryBean extends Object implements InitializingBean, BeanNameAware, FactoryBean<Index>
Constructor and Description |
---|
IndexFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Index |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanName(String name) |
void |
setCache(RegionService cache)
Sets the underlying cache used for creating indexes.
|
void |
setExpression(String expression) |
void |
setFrom(String from) |
void |
setImports(String imports) |
void |
setName(String name) |
void |
setOverride(boolean override) |
void |
setQueryService(QueryService service)
Sets the query service used for creating indexes.
|
void |
setType(String type) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public Index getObject()
getObject
in interface FactoryBean<Index>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<Index>
public boolean isSingleton()
isSingleton
in interface FactoryBean<Index>
public void setCache(RegionService cache)
cache
- cache used for creating indexes.public void setQueryService(QueryService service)
service
- query service used for creating indexes.public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setName(String name)
name
- the name to setpublic void setExpression(String expression)
expression
- the expression to setpublic void setFrom(String from)
from
- the from to setpublic void setImports(String imports)
imports
- the imports to setpublic void setType(String type)
type
- the type to setpublic void setOverride(boolean override)
override
- the override to set