|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.XAConnectionFactory
Implements the javax.jms.XAConnectionFactory interface.
| Field Summary | |
protected FactoryParameters |
params
Factory's parameters object. |
protected java.lang.String |
reliableClass
Reliable class name, for exemple use by ssl. |
| Constructor Summary | |
XAConnectionFactory(java.lang.String host,
int port)
Constructs an XAConnectionFactory dedicated to a given
server. |
|
| Method Summary | |
java.util.Hashtable |
code()
Codes an XAConnectionFactory as a Hashtable for travelling
through the SOAP protocol. |
javax.jms.XAConnection |
createXAConnection()
API method. |
abstract javax.jms.XAConnection |
createXAConnection(java.lang.String name,
java.lang.String password)
API method, implemented according to the communication protocol. |
void |
decode(java.util.Hashtable h)
Implements the decode abstract method defined in the
fr.dyade.aaa.jndi2.soap.SoapObjectItf interface. |
FactoryParameters |
getParameters()
Returns the factory's configuration parameters. |
javax.naming.Reference |
getReference()
Sets the naming reference of an XA connection factory. |
void |
setReliableClass(java.lang.String reliableClass)
|
java.lang.String |
toString()
Returns a string view of the connection factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected FactoryParameters params
protected java.lang.String reliableClass
| Constructor Detail |
public XAConnectionFactory(java.lang.String host,
int port)
XAConnectionFactory dedicated to a given
server.
host - Name or IP address of the server's host.port - Server's listening port.| Method Detail |
public java.lang.String toString()
public void setReliableClass(java.lang.String reliableClass)
public abstract javax.jms.XAConnection createXAConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryJMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
public javax.jms.XAConnection createXAConnection()
throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryJMSSecurityException - If the default identification is
incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSExceptionpublic FactoryParameters getParameters()
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.ReferenceablegetReference in class AdministeredObjectjavax.naming.NamingExceptionpublic java.util.Hashtable code()
XAConnectionFactory as a Hashtable for travelling
through the SOAP protocol.
code in interface fr.dyade.aaa.jndi2.soap.SoapObjectItfpublic void decode(java.util.Hashtable h)
decode abstract method defined in the
fr.dyade.aaa.jndi2.soap.SoapObjectItf interface.
Actual implementation of the method is located in the tcp and soap sub classes.
decode in interface fr.dyade.aaa.jndi2.soap.SoapObjectItf
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||