|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.client.rmi.RmiJmsServerStub
public class RmiJmsServerStub
This class is responsible for returning a reference to the remote JMS server.
| Constructor Summary | |
|---|---|
RmiJmsServerStub(java.util.Hashtable environment)
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. |
RemoteJmsServerIfc |
getDelegate()
This class attempts to return a delegate remote stub to the RMI JMS Server. |
javax.jms.ExceptionListener |
getExceptionListener()
Return a reference to the exception listener |
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 RmiJmsServerStub(java.util.Hashtable environment)
environment - the environment| Method Detail |
|---|
public RemoteJmsServerIfc getDelegate()
throws javax.jms.JMSException
javax.jms.JMSException - if the stub cannot be obtained
public JmsConnectionStubIfc createConnection(java.lang.String id,
java.lang.String username,
java.lang.String password)
throws javax.jms.JMSException
createConnection in interface JmsServerStubIfcid - identity of clientusername - the client usernamepassword - the client password
javax.jms.JMSException - if a connection cannot be establishedpublic void setExceptionListener(javax.jms.ExceptionListener listener)
JmsServerStubIfc
setExceptionListener in interface JmsServerStubIfclistener - the exception listenerpublic javax.jms.ExceptionListener getExceptionListener()
ExceptionListener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||