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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.Class<?>
boolean
void
setInterestPolicy
(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:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<SubscriptionAttributes>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<SubscriptionAttributes>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in 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:
-