public class LuceneServiceFactoryBean extends Object implements FactoryBean<org.apache.geode.cache.lucene.LuceneService>, InitializingBean
GemFireCache
,
LuceneService
,
LuceneServiceProvider
,
FactoryBean
,
InitializingBean
Constructor and Description |
---|
LuceneServiceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected org.apache.geode.cache.GemFireCache |
getCache()
Returns a reference to the single
GemFireCache instance. |
org.apache.geode.cache.lucene.LuceneService |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
protected org.apache.geode.cache.lucene.LuceneService |
resolveLuceneService(org.apache.geode.cache.GemFireCache gemFireCache)
Attempts to resolve the Singleton instance of the
GemFireCache LuceneService
from given the GemFireCache . |
void |
setCache(org.apache.geode.cache.GemFireCache gemfireCache)
Sets a reference to the single
GemFireCache instance. |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
protected org.apache.geode.cache.lucene.LuceneService resolveLuceneService(org.apache.geode.cache.GemFireCache gemFireCache)
GemFireCache
LuceneService
from given the GemFireCache
.gemFireCache
- GemFireCache
used to resolve the LuceneService
instance.LuceneService
.GemFireCache
,
LuceneService
public org.apache.geode.cache.lucene.LuceneService getObject() throws Exception
getObject
in interface FactoryBean<org.apache.geode.cache.lucene.LuceneService>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.lucene.LuceneService>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.apache.geode.cache.lucene.LuceneService>
public void setCache(org.apache.geode.cache.GemFireCache gemfireCache)
GemFireCache
instance.gemfireCache
- GemFireCache
reference.GemFireCache
protected org.apache.geode.cache.GemFireCache getCache()
GemFireCache
instance.GemFireCache
instance.GemFireCache
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.