org.objectweb.joram.client.jms
Class ConnectionFactory
- javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
public abstract class ConnectionFactory
implements javax.jms.ConnectionFactory
Implements the javax.jms.ConnectionFactory
interface.
- Serialized Form
Hashtable | code() - Codes a
ConnectionFactory as a Hashtable for travelling
through the SOAP protocol.
|
javax.jms.Connection | createConnection() - API method.
|
javax.jms.Connection | createConnection(String name, String password) - API method, implemented according to the communication protocol.
|
Object | decode(Hashtable h) - Implements the
decode abstract method defined in the
fr.dyade.aaa.jndi2.soap.SoapObjectItf interface.
|
static String | getDefaultLogin() - Returns default login name for connection.
|
static String | getDefaultPassword() - Returns the default login password for connection.
|
FactoryParameters | getParameters() - Returns the factory's configuration parameters.
|
Reference | getReference() - Sets the naming reference of a connection factory.
|
String | toString() - Returns a string view of the connection factory.
|
ConnectionFactory
public ConnectionFactory()
Constructs an empty ConnectionFactory
.
ConnectionFactory
public ConnectionFactory(String host,
int port)
Constructs a ConnectionFactory
dedicated to a given server.
host
- Name or IP address of the server's host.port
- Server's listening port.
code
public Hashtable code()
Codes a ConnectionFactory
as a Hashtable for travelling
through the SOAP protocol.
- code in interface SoapObjectItf
- code in interface AdministeredObject
createConnection
public javax.jms.Connection createConnection()
throws JMSException
API method.
createConnection
public javax.jms.Connection createConnection(String name,
String password)
throws JMSException
API method, implemented according to the communication protocol.
decode
public Object decode(Hashtable h)
Implements the
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
getDefaultLogin
public static String getDefaultLogin()
Returns default login name for connection.
Default value "anonymous" can be adjusted by setting the
JoramDfltLogin property.
getDefaultPassword
public static String getDefaultPassword()
Returns the default login password for connection.
Default value "anonymous" can be adjusted by setting the
JoramDfltPassword property.
getParameters
public FactoryParameters getParameters()
Returns the factory's configuration parameters.
getReference
public Reference getReference()
throws NamingException
Sets the naming reference of a connection factory.
- getReference in interface AdministeredObject
toString
public String toString()
Returns a string view of the connection factory.
Copyright B) 2004 Scalagent - All rights reserved