org.springframework.integration.xmpp.core
Class AbstractXmppConnectionAwareEndpoint

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareEndpoint
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent
Direct Known Subclasses:
ChatMessageListeningEndpoint, RosterListeningEndpoint

public abstract class AbstractXmppConnectionAwareEndpoint
extends AbstractEndpoint

Since:
2.0

Field Summary
protected  boolean initialized
           
protected  org.jivesoftware.smack.XMPPConnection xmppConnection
           
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
AbstractXmppConnectionAwareEndpoint()
           
AbstractXmppConnectionAwareEndpoint(org.jivesoftware.smack.XMPPConnection xmppConnection)
           
 
Method Summary
protected  void onInit()
          Subclasses may implement this for initialization logic.
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
doStart, doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xmppConnection

protected volatile org.jivesoftware.smack.XMPPConnection xmppConnection

initialized

protected volatile boolean initialized
Constructor Detail

AbstractXmppConnectionAwareEndpoint

public AbstractXmppConnectionAwareEndpoint()

AbstractXmppConnectionAwareEndpoint

public AbstractXmppConnectionAwareEndpoint(org.jivesoftware.smack.XMPPConnection xmppConnection)
Method Detail

onInit

protected void onInit()
               throws java.lang.Exception
Description copied from class: IntegrationObjectSupport
Subclasses may implement this for initialization logic.

Overrides:
onInit in class IntegrationObjectSupport
Throws:
java.lang.Exception