Class AbstractWANComponentFactoryBean<T>

java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<T>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
AsyncEventQueueFactoryBean, GatewayReceiverFactoryBean, GatewaySenderFactoryBean

public abstract class AbstractWANComponentFactoryBean<T> extends AbstractFactoryBeanSupport<T> implements org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
Abstract base class for WAN Gateway objects.
See Also:
  • Field Details

    • cache

      @Autowired protected org.apache.geode.cache.Cache cache
    • logger

      protected final org.slf4j.Logger logger
    • factory

      protected Object factory
  • Constructor Details

    • AbstractWANComponentFactoryBean

      protected AbstractWANComponentFactoryBean()
    • AbstractWANComponentFactoryBean

      protected AbstractWANComponentFactoryBean(org.apache.geode.cache.GemFireCache cache)
  • Method Details

    • setBeanName

      public void setBeanName(String beanName)
      Description copied from class: AbstractFactoryBeanSupport
      Sets the bean name assigned to this FactoryBean as declared in the Spring container.
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
      Overrides:
      setBeanName in class AbstractFactoryBeanSupport<T>
      Parameters:
      beanName - bean name assigned to this FactoryBean as declared in the Spring container.
      See Also:
      • BeanNameAware.setBeanName(String)
      • String
    • getCache

      public org.apache.geode.cache.Cache getCache()
    • setCache

      public void setCache(org.apache.geode.cache.Cache cache)
    • setFactory

      public void setFactory(Object factory)
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • afterPropertiesSet

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

      protected abstract void doInit() throws Exception
      Throws:
      Exception
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean