Class LuceneServiceFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<org.apache.geode.cache.lucene.LuceneService>
org.springframework.data.gemfire.search.lucene.LuceneServiceFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.lucene.LuceneService>
,org.springframework.beans.factory.InitializingBean
public class LuceneServiceFactoryBean
extends AbstractFactoryBeanSupport<org.apache.geode.cache.lucene.LuceneService>
implements org.springframework.beans.factory.InitializingBean
Deprecated.
To be removed in GemFire 10 integration
Spring
FactoryBean
used to get an instance of the GemFireCache
LuceneService
.- Since:
- 1.1.0
- See Also:
-
GemFireCache
LuceneService
LuceneServiceProvider
FactoryBean
InitializingBean
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.protected org.apache.geode.cache.GemFireCache
getCache()
Deprecated.Returns a reference to the singleGemFireCache
instance.org.apache.geode.cache.lucene.LuceneService
Deprecated.Class<?>
Deprecated.protected org.apache.geode.cache.lucene.LuceneService
resolveLuceneService
(org.apache.geode.cache.GemFireCache gemFireCache) Deprecated.Attempts to resolve the Singleton instance of theGemFireCache
LuceneService
from given theGemFireCache
.void
setCache
(org.apache.geode.cache.GemFireCache gemfireCache) Deprecated.Sets a reference to the singleGemFireCache
instance.Methods inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory, setBeanName
-
Constructor Details
-
LuceneServiceFactoryBean
public LuceneServiceFactoryBean()Deprecated.
-
-
Method Details
-
afterPropertiesSet
Deprecated.- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
resolveLuceneService
protected org.apache.geode.cache.lucene.LuceneService resolveLuceneService(org.apache.geode.cache.GemFireCache gemFireCache) Deprecated.Attempts to resolve the Singleton instance of theGemFireCache
LuceneService
from given theGemFireCache
.- Parameters:
gemFireCache
-GemFireCache
used to resolve theLuceneService
instance.- Returns:
- a single instance of the GemFire
LuceneService
. - See Also:
-
GemFireCache
LuceneService
-
getObject
Deprecated.- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.lucene.LuceneService>
- Throws:
Exception
-
getObjectType
Deprecated.- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.lucene.LuceneService>
-
setCache
public void setCache(org.apache.geode.cache.GemFireCache gemfireCache) Deprecated.Sets a reference to the singleGemFireCache
instance.- Parameters:
gemfireCache
-GemFireCache
reference.- See Also:
-
GemFireCache
-
getCache
protected org.apache.geode.cache.GemFireCache getCache()Deprecated.Returns a reference to the singleGemFireCache
instance.- Returns:
- a reference to the single
GemFireCache
instance. - See Also:
-
GemFireCache
-