Spring Integration

org.springframework.integration.xmpp.core
Class AbstractXmppConnectionAwareMessageHandler

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareMessageHandler
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered, NamedComponent, Orderable, MessageHandler, TrackableComponent
Direct Known Subclasses:
ChatMessageSendingMessageHandler, PresenceSendingMessageHandler

public abstract class AbstractXmppConnectionAwareMessageHandler
extends AbstractMessageHandler

Since:
2.0
Author:
Oleg Zhurakousky

Field Summary
protected  boolean initialized
           
protected  org.jivesoftware.smack.XMPPConnection xmppConnection
           
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
AbstractXmppConnectionAwareMessageHandler()
           
AbstractXmppConnectionAwareMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection)
           
 
Method Summary
protected  void onInit()
          Subclasses may implement this for initialization logic.
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getComponentType, getOrder, handleMessage, handleMessageInternal, setOrder, setShouldTrack
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Field Detail

xmppConnection

protected volatile org.jivesoftware.smack.XMPPConnection xmppConnection

initialized

protected volatile boolean initialized
Constructor Detail

AbstractXmppConnectionAwareMessageHandler

public AbstractXmppConnectionAwareMessageHandler()

AbstractXmppConnectionAwareMessageHandler

public AbstractXmppConnectionAwareMessageHandler(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

Spring Integration