Package org.springframework.data.gemfire
Class SubscriptionAttributesFactoryBean
java.lang.Object
org.springframework.data.gemfire.SubscriptionAttributesFactoryBean
- All Implemented Interfaces:
FactoryBean<SubscriptionAttributes>,InitializingBean
public class SubscriptionAttributesFactoryBean
extends Object
implements FactoryBean<SubscriptionAttributes>, InitializingBean
Spring
FactoryBean used for defining and constructing an Apache Geode SubscriptionAttributes object,
which determines the subscription policy used by cache Regions declaring their data interests.- Since:
- 1.3.0
- Author:
- Lyndon Adams, John Blum
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.Class<?>booleanvoidsetInterestPolicy(InterestPolicy interestPolicy) Sets GemFire's InterestPolicy specified on the SubscriptionAttributes in order to define/declare the data interests and distribution of changes.
-
Constructor Details
-
SubscriptionAttributesFactoryBean
public SubscriptionAttributesFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<SubscriptionAttributes>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<SubscriptionAttributes>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceFactoryBean<SubscriptionAttributes>
-
setInterestPolicy
Sets GemFire's InterestPolicy specified on the SubscriptionAttributes in order to define/declare the data interests and distribution of changes.- Parameters:
interestPolicy- the GemFire InterestsPolicy to set for Subscription.- See Also:
-
getInterestPolicy
Gets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.- Returns:
- the GemFire InterestsPolicy set for Subscription.
- See Also:
-