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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminConnectionManager
public AdminConnectionManager(org.exolab.jms.net.connector.Authenticator authenticator,
AdminConnectionFactory factory)
- Construct a new
AdminConnectionManager
.
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 usernamepassword
- the client's password- Returns:
- a new admin connection
- Throws:
javax.jms.JMSSecurityException
- if the client cannot be authenticatedjavax.jms.JMSException
- if the connection cannot be created
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.