Class SubscriptionAttributesFactoryBean

java.lang.Object
org.springframework.data.gemfire.SubscriptionAttributesFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>, org.springframework.beans.factory.InitializingBean

public class SubscriptionAttributesFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>, org.springframework.beans.factory.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
See Also:
  • InterestPolicy
  • SubscriptionAttributes
  • FactoryBean
  • InitializingBean
  • Field Summary

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.apache.geode.cache.InterestPolicy
    Gets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.
    org.apache.geode.cache.SubscriptionAttributes
     
     
    boolean
     
    void
    setInterestPolicy(org.apache.geode.cache.InterestPolicy interestPolicy)
    Sets GemFire's InterestPolicy specified on the SubscriptionAttributes in order to define/declare the data interests and distribution of changes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SubscriptionAttributesFactoryBean

      public SubscriptionAttributesFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getObject

      public org.apache.geode.cache.SubscriptionAttributes getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
    • setInterestPolicy

      public void setInterestPolicy(org.apache.geode.cache.InterestPolicy interestPolicy)
      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:
      • InterestPolicy
      • SubscriptionAttributes(InterestPolicy)
    • getInterestPolicy

      public org.apache.geode.cache.InterestPolicy 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:
      • InterestPolicy
      • SubscriptionAttributes.getInterestPolicy()