org.exolab.jms.server.net
Class JmsAdminServerImpl
java.lang.Object
|
+--org.exolab.jms.net.orb.UnicastObject
|
+--org.exolab.jms.server.net.JmsAdminServerImpl
- All Implemented Interfaces:
- RemoteJmsAdminServerIfc
- public class JmsAdminServerImpl
- extends org.exolab.jms.net.orb.UnicastObject
- implements RemoteJmsAdminServerIfc
This class implements the RemoteJmsAdminServerIfc and simply delegates all
the request to the JmsAdmin singleton instance.
- Version:
- $Revision: 1.3 $ $Date: 2005/08/30 05:51:03 $
- Author:
- Jim Alateras
Methods inherited from class org.exolab.jms.net.orb.UnicastObject |
getORB, getProxy, getURI, unexportObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsAdminServerImpl
public JmsAdminServerImpl(AdminConnectionManager manager,
org.exolab.jms.net.orb.ORB orb,
java.lang.String uri)
throws java.rmi.RemoteException
- Construct a new
JmsAdminServerImpl
- Parameters:
manager
- the admin connection managerorb
- the ORB to export this withuri
- the URI to export this on- Throws:
java.rmi.RemoteException
- if this can't be exported
createConnection
public RemoteJmsAdminConnectionIfc createConnection(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:
username
- 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-2007 The OpenJMS Group. All Rights Reserved.