org.exolab.jms.server.rmi
Interface RemoteJmsAdminServerIfc

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RmiJmsAdminServer

public interface RemoteJmsAdminServerIfc
extends java.rmi.Remote

This specifies all the administration methods that can be used to control the JMS server through an RMI connector. The control logic is all at the org.exolab.jms.server package level

Version:
$Revision: 1.11 $ $Date: 2003/08/07 13:33:10 $
Author:
Jim Alateras
See Also:
Remote

Method Summary
 RemoteJmsAdminConnectionIfc createConnection(java.lang.String id, java.lang.String username, java.lang.String password)
          Create a connection to the specified server.
 

Method Detail

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 JmsServerConnection and then return a remote reference to it.
Parameters:
id - client identity
username - the user's name
password - the user's password
Returns:
RemoteJmsAdminConnectionIfc
Throws:
javax.jms.JMSException - if the authentication failed
java.rmi.RemoteException - if failed to export object


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.