|
||||||||||
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. |
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
id, instancesTable |
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. |
java.lang.Object |
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. |
java.lang.String |
toString()
Returns a string view of the connection factory. |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected FactoryParameters params
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 abstract javax.jms.XAConnection createXAConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
createXAConnection
in interface javax.jms.XAConnectionFactory
JMSSecurityException
- 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.XAConnectionFactory
JMSSecurityException
- If the default identification is
incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public FactoryParameters getParameters()
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
getReference
in class AdministeredObject
javax.naming.NamingException
public java.util.Hashtable code()
XAConnectionFactory
as a Hashtable for travelling
through the SOAP protocol.
code
in interface SoapObjectItf
code
in class AdministeredObject
public java.lang.Object 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 SoapObjectItf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |