Class ContinuousQueryConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.annotation.ImportAware
,org.springframework.context.EnvironmentAware
@Configuration
public class ContinuousQueryConfiguration
extends AbstractAnnotationConfigSupport
implements org.springframework.context.annotation.ImportAware
The
ContinuousQueryConfiguration
class is a Spring @Configuration
class enabling
Continuous Query (CQ) Pivotal GemFire/Apache Geode capabilities in this cache client application.- Since:
- 2.0.0
- See Also:
-
Executor
GemFireCache
CqQuery
QueryService
BeanPostProcessor
Bean
Configuration
ImportAware
AnnotationAttributes
AnnotationMetadata
AbstractAnnotationConfigSupport
ContinuousQueryDefinition
ContinuousQueryListener
ContinuousQueryListenerContainer
ContinuousQuery
ErrorHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
CURRENT_THREAD_CONTEXT_CLASS_LOADER, INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.config.BeanPostProcessor
continuousQueryListenerContainer
(org.apache.geode.cache.GemFireCache gemfireCache) protected Class<? extends Annotation>
Returns theAnnotation
type
that configures and createsContinuous Queries
for applicationContinuousQuery
annotated POJO service methods.protected String
protected int
getPhase()
protected String
protected String
protected String
protected List<ContinuousQueryListenerContainerConfigurer>
protected Optional<org.springframework.util.ErrorHandler>
protected Optional<org.apache.geode.cache.query.QueryService>
void
setErrorHandlerBeanName
(String errorHandlerBeanName) void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importingClassMetadata) void
setPhase
(int phase) void
setPoolName
(String poolName) void
setQueryServiceBeanName
(String queryServiceBeanName) void
setTaskExecutorBeanName
(String taskExecutorBeanName) Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLogger, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLogger, pdxProperty, poolProperty, propertyName, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
-
Field Details
-
ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE_NAME
- See Also:
-
ORG_SPRINGFRAMEWORK_PACKAGE_NAME
- See Also:
-
-
Constructor Details
-
ContinuousQueryConfiguration
public ContinuousQueryConfiguration()
-
-
Method Details
-
getAnnotationType
Returns theAnnotation
type
that configures and createsContinuous Queries
for applicationContinuousQuery
annotated POJO service methods.- Specified by:
getAnnotationType
in classAbstractAnnotationConfigSupport
- Returns:
- the
Annotation
type
that configures and createsContinuous Queries
for applicationContinuousQuery
annotated POJO service methods. - See Also:
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importingClassMetadata) - Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-
continuousQueryBeanPostProcessor
@Bean public org.springframework.beans.factory.config.BeanPostProcessor continuousQueryBeanPostProcessor() -
continuousQueryListenerContainer
@Bean public ContinuousQueryListenerContainer continuousQueryListenerContainer(org.apache.geode.cache.GemFireCache gemfireCache) -
resolveContinuousQueryListenerContainerConfigurers
protected List<ContinuousQueryListenerContainerConfigurer> resolveContinuousQueryListenerContainerConfigurers() -
resolveErrorHandler
-
resolvePhase
-
resolvePoolName
-
resolveQueryService
-
resolveTaskExecutor
-
setErrorHandlerBeanName
-
getErrorHandlerBeanName
-
setPhase
public void setPhase(int phase) -
getPhase
protected int getPhase() -
setPoolName
-
getPoolName
-
setQueryServiceBeanName
-
getQueryServiceBeanName
-
setTaskExecutorBeanName
-
getTaskExecutorBeanName
-