|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport org.springframework.ws.transport.support.AbstractStandaloneMessageReceiver org.springframework.ws.transport.xmpp.XmppMessageReceiver
public class XmppMessageReceiver
Server-side component for receiving XMPP (Jabber) messages. Requires a connection to be set, in addition to the messageFactory
and messageReceiver
required by the base class.
XmppConnectionFactoryBean
Field Summary | |
---|---|
static String |
DEFAULT_MESSAGE_ENCODING
Default encoding used to read from and write to Message messages. |
Fields inherited from class org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
XmppMessageReceiver()
|
Method Summary | |
---|---|
protected void |
onActivate()
Template method invoked when AbstractStandaloneMessageReceiver.activate() is invoked. |
protected void |
onShutdown()
Template method invoked when AbstractStandaloneMessageReceiver.shutdown() is invoked. |
protected void |
onStart()
Template method invoked when AbstractStandaloneMessageReceiver.start() is invoked. |
protected void |
onStop()
Template method invoked when AbstractStandaloneMessageReceiver.stop() is invoked. |
void |
setConnection(org.jivesoftware.smack.XMPPConnection connection)
Sets the XMPPConnection to use. |
Methods inherited from class org.springframework.ws.transport.support.AbstractStandaloneMessageReceiver |
---|
activate, afterPropertiesSet, destroy, isActive, isRunning, setAutoStartup, shutdown, start, stop |
Methods inherited from class org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport |
---|
getMessageReceiver, handleConnection, setMessageReceiver |
Methods inherited from class org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport |
---|
getMessageFactory, handleConnection, setMessageFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_MESSAGE_ENCODING
Message
messages.
Constructor Detail |
---|
public XmppMessageReceiver()
Method Detail |
---|
public void setConnection(org.jivesoftware.smack.XMPPConnection connection)
XMPPConnection
to use. Setting this property is required.
protected void onActivate() throws org.jivesoftware.smack.XMPPException
AbstractStandaloneMessageReceiver
AbstractStandaloneMessageReceiver.activate()
is invoked.
onActivate
in class AbstractStandaloneMessageReceiver
org.jivesoftware.smack.XMPPException
protected void onStart()
AbstractStandaloneMessageReceiver
AbstractStandaloneMessageReceiver.start()
is invoked.
onStart
in class AbstractStandaloneMessageReceiver
protected void onStop()
AbstractStandaloneMessageReceiver
AbstractStandaloneMessageReceiver.stop()
is invoked.
onStop
in class AbstractStandaloneMessageReceiver
protected void onShutdown()
AbstractStandaloneMessageReceiver
AbstractStandaloneMessageReceiver.shutdown()
is invoked.
onShutdown
in class AbstractStandaloneMessageReceiver
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |