org.exolab.jms.server.rmi
Class RmiJmsAdminServer
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--org.exolab.jms.server.rmi.RmiJmsAdminServer
- All Implemented Interfaces:
- java.rmi.Remote, RemoteJmsAdminServerIfc, java.io.Serializable
- public class RmiJmsAdminServer
- extends java.rmi.server.UnicastRemoteObject
- implements RemoteJmsAdminServerIfc
This class implements the RemoteJmsAdminServerIfc and simply delegates all
the request to the JmsAdmin singleton instance.
- Version:
- $Revision: 1.10 $ $Date: 2003/08/07 13:33:10 $
- Author:
- Jim Alateras
- See Also:
Remote
, Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
RmiJmsAdminServer()
The default constructor simply calls the base class' default constructor. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RmiJmsAdminServer
public RmiJmsAdminServer()
throws java.rmi.RemoteException
- The default constructor simply calls the base class' default constructor.
- Throws:
java.rmi.RemoteException
- if the connection cannot be created
createConnection
public RemoteJmsAdminConnectionIfc createConnection(java.lang.String id,
java.lang.String username,
java.lang.String password)
throws javax.jms.JMSException,
java.rmi.RemoteException
- Create a connection to the specified server. This will create an
instance of a AdminConnection and then return a remote reference
to it.
- Specified by:
createConnection
in interface RemoteJmsAdminServerIfc
- Parameters:
id
- client identityusername
- the client's user namepassword
- the client's password- Returns:
- a new connection
- Throws:
javax.jms.JMSException
- if the connection cannot be createdjava.rmi.RemoteException
- if the connection cannot be created
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.