|
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.xmpp.support.XmppConnectionFactoryBean
public class XmppConnectionFactoryBean
Factory to make XMPPConnection
and perform connection and login on the XMPP server
Constructor Summary | |
---|---|
XmppConnectionFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected org.jivesoftware.smack.ConnectionConfiguration |
createConnectionConfiguration(String host,
int port,
String serviceName)
Creates the ConnectionConfiguration from the given parameters. |
void |
destroy()
|
org.jivesoftware.smack.XMPPConnection |
getObject()
|
Class<org.jivesoftware.smack.XMPPConnection> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setHost(String host)
Sets the server host to connect to. |
void |
setPassword(String password)
|
void |
setPort(int port)
Sets the the server port to connect to. |
void |
setResource(String resource)
|
void |
setServiceName(String serviceName)
Sets the service name to connect to. |
void |
setUsername(String username)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmppConnectionFactoryBean()
Method Detail |
---|
public void setHost(String host)
public void setPort(int port)
5222
.
public void setServiceName(String serviceName)
public void setUsername(String username)
public void setPassword(String password)
public void setResource(String resource)
public void afterPropertiesSet() throws org.jivesoftware.smack.XMPPException
afterPropertiesSet
in interface InitializingBean
org.jivesoftware.smack.XMPPException
public void destroy()
destroy
in interface DisposableBean
public org.jivesoftware.smack.XMPPConnection getObject()
getObject
in interface FactoryBean<org.jivesoftware.smack.XMPPConnection>
public Class<org.jivesoftware.smack.XMPPConnection> getObjectType()
getObjectType
in interface FactoryBean<org.jivesoftware.smack.XMPPConnection>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.jivesoftware.smack.XMPPConnection>
protected org.jivesoftware.smack.ConnectionConfiguration createConnectionConfiguration(String host, int port, String serviceName)
ConnectionConfiguration
from the given parameters.
host
- the host to connect toport
- the port to connect toserviceName
- the name of the service to connect to. May be null
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |