org.exolab.jms.net.tcp
Class TCPManagedConnectionFactory
java.lang.Object
|
+--org.exolab.jms.net.socket.SocketManagedConnectionFactory
|
+--org.exolab.jms.net.tcp.TCPManagedConnectionFactory
- All Implemented Interfaces:
- ManagedConnectionFactory
- public class TCPManagedConnectionFactory
- extends SocketManagedConnectionFactory
A factory for TCPConnectionFactory
, TCPManagedConnection
and
TCPManagedConnectionAcceptor
instances.
- Version:
- $Revision: 1.4 $ $Date: 2005/04/17 14:04:44 $
- Author:
- Tim Anderson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPManagedConnectionFactory
public TCPManagedConnectionFactory()
createConnectionFactory
public ConnectionFactory createConnectionFactory(ConnectionManager manager)
throws ResourceException
- Creates a new connection factory.
- Parameters:
manager
- the connection manager- Returns:
- a new connection factory
- Throws:
ResourceException
- if the factory cannot be created
createManagedConnection
public ManagedConnection createManagedConnection(java.security.Principal principal,
ConnectionRequestInfo info)
throws ResourceException
- Creates a new connection.
- Parameters:
principal
- the security principalinfo
- the connection request info- Returns:
- a new connection
- Throws:
ResourceException
- if a connection cannot be established
createManagedConnectionAcceptor
public ManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator,
ConnectionRequestInfo info)
throws ResourceException
- Creates an acceptor for connections.
- Parameters:
authenticator
- authenticates incoming connectionsinfo
- the connection request info- Returns:
- a new connection acceptor
- Throws:
ResourceException
- if an acceptor cannot be created
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.