org.exolab.jms.server
Class AdminConnectionManager

java.lang.Object
  |
  +--org.exolab.jms.server.AdminConnectionManager

public class AdminConnectionManager
extends java.lang.Object

AdminConnectionManager is responsible for creating authenticated AdminConnection instances The connection manager is a singleton (at this point anyway) that is accessible through the instance class method. It is also responsible for holding a list of adminconnections.

Version:
$Revision: 1.4 $ $Date: 2005/12/26 06:26:35 $
Author:
Knut Lerpold, Tim Anderson
See Also:
AdminConnection

Constructor Summary
AdminConnectionManager(org.exolab.jms.net.connector.Authenticator authenticator, AdminConnectionFactory factory)
          Construct a new AdminConnectionManager.
 
Method Summary
 AdminConnection createConnection(java.lang.String username, java.lang.String password)
          Create a new admin connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminConnectionManager

public AdminConnectionManager(org.exolab.jms.net.connector.Authenticator authenticator,
                              AdminConnectionFactory factory)
Construct a new AdminConnectionManager.
Method Detail

createConnection

public AdminConnection createConnection(java.lang.String username,
                                        java.lang.String password)
                                 throws javax.jms.JMSSecurityException,
                                        javax.jms.JMSException
Create a new admin connection.
Parameters:
username - the client's username
password - the client's password
Returns:
a new admin connection
Throws:
javax.jms.JMSSecurityException - if the client cannot be authenticated
javax.jms.JMSException - if the connection cannot be created


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