Class ContinuousQueryConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,ImportAware,EnvironmentAware
@Configuration
public class ContinuousQueryConfiguration
extends AbstractAnnotationConfigSupport
implements 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
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T> -
Field Summary
FieldsFields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontinuousQueryListenerContainer(GemFireCache gemfireCache) protected Class<? extends Annotation>Returns theAnnotationtypethat configures and createsContinuous Queriesfor applicationContinuousQueryannotated POJO service methods.protected Stringprotected intgetPhase()protected Stringprotected Stringprotected Stringprotected List<ContinuousQueryListenerContainerConfigurer>protected Optional<ErrorHandler>protected Optional<QueryService>voidsetErrorHandlerBeanName(String errorHandlerBeanName) voidsetImportMetadata(AnnotationMetadata importingClassMetadata) voidsetPhase(int phase) voidsetPoolName(String poolName) voidsetQueryServiceBeanName(String queryServiceBeanName) voidsetTaskExecutorBeanName(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, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, 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 theAnnotationtypethat configures and createsContinuous Queriesfor applicationContinuousQueryannotated POJO service methods.- Specified by:
getAnnotationTypein classAbstractAnnotationConfigSupport- Returns:
- the
Annotationtypethat configures and createsContinuous Queriesfor applicationContinuousQueryannotated POJO service methods. - See Also:
-
setImportMetadata
- Specified by:
setImportMetadatain interfaceImportAware
-
continuousQueryBeanPostProcessor
-
continuousQueryListenerContainer
@Bean public ContinuousQueryListenerContainer continuousQueryListenerContainer(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
-