|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.exolab.jms.client.JmsConnectionFactory
This is simply a marker for connection factory classes.
JmsQueueConnectionFactory,
JmsTopicConnectionFactory, Serialized Form| Field Summary | |
protected java.lang.String |
_className
This variable maintains the name of the class that will facilitate communication with the JMS Server. |
protected java.util.Hashtable |
_env
This is a list of environment variabels that are used to construct the object |
| Constructor Summary | |
|
JmsConnectionFactory()
Need a default constructor for externalization |
protected |
JmsConnectionFactory(java.lang.String name,
java.util.Hashtable env)
Instantiate an instance of the connection factory with the name of the class that will facilitate communication with the JmsServer |
| Method Summary | |
protected void |
addConnection(org.exolab.jms.client.JmsConnection connection)
Add the specified connection to the list of managed sessions |
protected java.util.Enumeration |
getConnections()
Return an enumeration of all connections managed by this factory |
JmsServerStubIfc |
getProxy()
Return a reference to the server proxy. |
javax.naming.Reference |
getReference()
|
protected boolean |
isManaged(org.exolab.jms.client.JmsConnection connection)
Test whether the specified connection is managed by this factory |
void |
onException(javax.jms.JMSException exception)
|
void |
readExternal(java.io.ObjectInput stream)
|
protected void |
removeConnection(org.exolab.jms.client.JmsConnection connection)
Remove the specified connection from the list of managed connections.. |
void |
writeExternal(java.io.ObjectOutput stream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String _className
protected java.util.Hashtable _env
| Constructor Detail |
public JmsConnectionFactory()
protected JmsConnectionFactory(java.lang.String name,
java.util.Hashtable env)
name - name of the classenvc - properties for contructing| Method Detail |
public JmsServerStubIfc getProxy()
throws javax.jms.JMSException
javax.jms.JMSException - if the proxy cannot be createdprotected void addConnection(org.exolab.jms.client.JmsConnection connection)
connection - connection to registerprotected void removeConnection(org.exolab.jms.client.JmsConnection connection)
connection - connection to removeprotected boolean isManaged(org.exolab.jms.client.JmsConnection connection)
connection - connection to test againstprotected java.util.Enumeration getConnections()
public void writeExternal(java.io.ObjectOutput stream)
throws java.io.IOException
writeExternal in interface java.io.Externalizable
public void readExternal(java.io.ObjectInput stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablepublic void onException(javax.jms.JMSException exception)
onException in interface javax.jms.ExceptionListenerpublic javax.naming.Reference getReference()
getReference in interface javax.naming.Referenceable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||