|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.client.intravm.IntravmJmsServerStub
public class IntravmJmsServerStub
This class is a client stub facilitating communication with the server in an intra-VM configuration.
| Constructor Summary | |
|---|---|
IntravmJmsServerStub()
The default constructor does nothing |
|
IntravmJmsServerStub(java.util.Hashtable env)
The constructor instantiate server based on the environment variables passed in |
|
| Method Summary | |
|---|---|
JmsConnectionStubIfc |
createConnection(java.lang.String id,
java.lang.String username,
java.lang.String password)
Create a connection to the JMS Server. |
void |
setExceptionListener(javax.jms.ExceptionListener listener)
Set the exception listener so that the client can be notified of client disconnection events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntravmJmsServerStub()
public IntravmJmsServerStub(java.util.Hashtable env)
env - environment| Method Detail |
|---|
public JmsConnectionStubIfc createConnection(java.lang.String id,
java.lang.String username,
java.lang.String password)
throws javax.jms.JMSException
createConnection in interface JmsServerStubIfcid - the identity of clientusername - the client usernamepassword - the client password
javax.jms.JMSException - if the connection cannot be createdpublic void setExceptionListener(javax.jms.ExceptionListener listener)
JmsServerStubIfc
setExceptionListener in interface JmsServerStubIfclistener - the exception listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||