|
Joram 4.3.27 | ||||||||
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.admin.AbstractConnectionFactory
public abstract class AbstractConnectionFactory
Implements the javax.jms.ConnectionFactory
interface.
Field Summary | |
---|---|
protected FactoryParameters |
params
Object containing the factory's parameters. |
protected java.lang.String |
reliableClass
Reliable class name, for exemple use by ssl. |
Constructor Summary | |
---|---|
AbstractConnectionFactory()
Constructs an empty ConnectionFactory . |
|
AbstractConnectionFactory(java.lang.String url)
Constructs a ConnectionFactory dedicated to a given server. |
|
AbstractConnectionFactory(java.lang.String host,
int port)
Constructs a ConnectionFactory dedicated to a given server. |
Method Summary | |
---|---|
java.util.Hashtable |
code()
Codes a ConnectionFactory as a Hashtable for travelling
through the SOAP protocol. |
java.util.Hashtable |
code(java.util.Hashtable h,
java.lang.String prefix)
|
void |
decode(java.util.Hashtable h)
Implements the decode abstract method defined in the
fr.dyade.aaa.jndi2.soap.SoapObjectItf interface. |
void |
decode(java.util.Hashtable h,
java.lang.String prefix)
|
void |
fromReference(javax.naming.Reference ref)
Restores the administered object from a naming reference. |
void |
fromReference(javax.naming.Reference ref,
java.lang.String prefix)
Restores the administered object from a clustered naming reference. |
static java.lang.String |
getDefaultLogin()
Returns default login name for connection. |
static java.lang.String |
getDefaultPassword()
Returns the default login password for connection. |
static java.lang.String |
getDefaultRootLogin()
Returns default administrator login name for connection. |
static java.lang.String |
getDefaultRootPassword()
Returns the default administrator login password for connection. |
FactoryParameters |
getParameters()
Returns the factory's configuration parameters. |
void |
setReliableClass(java.lang.String reliableClass)
|
void |
toReference(javax.naming.Reference ref)
Sets the naming reference of an administered object. |
void |
toReference(javax.naming.Reference ref,
java.lang.String prefix)
Sets the clustered naming reference of a connection factory. |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
---|
getReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FactoryParameters params
protected java.lang.String reliableClass
Constructor Detail |
---|
public AbstractConnectionFactory(java.lang.String host, int port)
ConnectionFactory
dedicated to a given server.
host
- Name or IP address of the server's host.port
- Server's listening port.public AbstractConnectionFactory(java.lang.String url)
ConnectionFactory
dedicated to a given server.
url
- joram ha url.public AbstractConnectionFactory()
ConnectionFactory
.
Method Detail |
---|
public void setReliableClass(java.lang.String reliableClass)
public static java.lang.String getDefaultRootLogin()
public static java.lang.String getDefaultRootPassword()
public static java.lang.String getDefaultLogin()
public static java.lang.String getDefaultPassword()
public FactoryParameters getParameters()
public final void toReference(javax.naming.Reference ref) throws javax.naming.NamingException
toReference
in class AdministeredObject
javax.naming.NamingException
public void toReference(javax.naming.Reference ref, java.lang.String prefix)
public final void fromReference(javax.naming.Reference ref) throws javax.naming.NamingException
fromReference
in class AdministeredObject
javax.naming.NamingException
public void fromReference(javax.naming.Reference ref, java.lang.String prefix)
public java.util.Hashtable code()
ConnectionFactory
as a Hashtable for travelling
through the SOAP protocol.
public java.util.Hashtable code(java.util.Hashtable h, java.lang.String prefix)
public void decode(java.util.Hashtable h)
decode
abstract method defined in the
fr.dyade.aaa.jndi2.soap.SoapObjectItf
interface.
public void decode(java.util.Hashtable h, java.lang.String prefix)
|
Joram 4.3.27 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |