|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
jrun.jms.core.client.JmsConnectionFactory
This is simply a marker for connection factory classes.
org.exolab.jms.client.JmsQueueConnectionFactory,
org.exolab.jms.client.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(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 |
protected Logger |
getLogger()
Return a reference to the logger. |
JmsServerStubIfc |
getProxy()
Return a reference to the server proxy. |
javax.naming.Reference |
getReference()
|
protected boolean |
isManaged(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(JmsConnection connection)
Remove the specified connection from the list of managed connections.. |
void |
writeExternal(java.io.ObjectOutput stream)
|
| 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
If there are any problems creating this proxy then throw the JMS- Exception exception
JMSException - protected void addConnection(JmsConnection connection)
connection - connection to registerprotected void removeConnection(JmsConnection connection)
connection - connection to removeprotected boolean isManaged(JmsConnection connection)
connection - connection to test againstprotected java.util.Enumeration getConnections()
protected Logger getLogger()
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)
public 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 | ||||||||