Class SyslogReceivingChannelAdapterFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<SyslogReceivingChannelAdapterSupport>
org.springframework.integration.syslog.config.SyslogReceivingChannelAdapterFactoryBean
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<SyslogReceivingChannelAdapterSupport>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class SyslogReceivingChannelAdapterFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<SyslogReceivingChannelAdapterSupport> implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationEventPublisherAware
Factory bean to create syslog inbound adapters (UDP or TCP).
Since:
3.0
  • Constructor Details

  • Method Details

    • setOutputChannel

      public void setOutputChannel(org.springframework.messaging.MessageChannel outputChannel)
    • setAutoStartup

      public void setAutoStartup(boolean autoStartup)
    • setErrorChannel

      public void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
    • setPhase

      public void setPhase(int phase)
    • setSendTimeout

      public void setSendTimeout(long sendTimeout)
    • setConnectionFactory

      public void setConnectionFactory(org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
    • setUdpAdapter

      public void setUdpAdapter(org.springframework.integration.ip.udp.UnicastReceivingChannelAdapter udpAdapter)
    • setPort

      public void setPort(int port)
    • setConverter

      public void setConverter(MessageConverter converter)
    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle
    • setBeanName

      public void setBeanName(String name)
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
    • isAutoStartup

      public boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • stop

      public void stop(Runnable callback)
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<SyslogReceivingChannelAdapterSupport>
      Specified by:
      getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<SyslogReceivingChannelAdapterSupport>
    • createInstance

      protected SyslogReceivingChannelAdapterSupport createInstance()
      Specified by:
      createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<SyslogReceivingChannelAdapterSupport>