org.springframework.integration.xmpp.inbound
Class PresenceListeningEndpoint
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareEndpoint
org.springframework.integration.xmpp.inbound.PresenceListeningEndpoint
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, NamedComponent, MessageProducer, TrackableComponent
public class PresenceListeningEndpoint
- extends AbstractXmppConnectionAwareEndpoint
An inbound endpoint that is able to login and then emit Message
s when a
particular Presence event occurs within the logged-in user's Roster
.
(e.g., logged in/out, changed status etc.)
- Since:
- 2.0
- Author:
- Josh Long, Oleg Zhurakousky, Mark Fisher
Method Summary |
protected void |
doStart()
Takes no action by default. |
protected void |
doStop()
Takes no action by default. |
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PresenceListeningEndpoint
public PresenceListeningEndpoint()
PresenceListeningEndpoint
public PresenceListeningEndpoint(org.jivesoftware.smack.XMPPConnection xmppConnection)
getComponentType
public java.lang.String getComponentType()
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this method to provide component type information.
- Specified by:
getComponentType
in interface NamedComponent
- Overrides:
getComponentType
in class IntegrationObjectSupport
doStart
protected void doStart()
- Description copied from class:
MessageProducerSupport
- Takes no action by default. Subclasses may override this if they
need lifecycle-managed behavior.
- Overrides:
doStart
in class MessageProducerSupport
doStop
protected void doStop()
- Description copied from class:
MessageProducerSupport
- Takes no action by default. Subclasses may override this if they
need lifecycle-managed behavior.
- Overrides:
doStop
in class MessageProducerSupport