public class LuceneServiceFactoryBean extends AbstractFactoryBeanSupport<org.apache.geode.cache.lucene.LuceneService> implements InitializingBean
GemFireCache
,
LuceneService
,
LuceneServiceProvider
,
FactoryBean
,
InitializingBean
DEFAULT_SINGLETON
OBJECT_TYPE_ATTRIBUTE
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() |
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. |
getBeanClassLoader, getBeanFactory, getBeanName, getLog, isSingleton, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory, setBeanName
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 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–2021 Pivotal Software, Inc.. All rights reserved.