|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.net.vm.VMManagedConnectionFactory
public class VMManagedConnectionFactory
A factory for VMConnectionFactory
, VMManagedConnection
and
VMManagedConnectionAcceptor
instances.
Constructor Summary | |
---|---|
VMManagedConnectionFactory()
|
Method Summary | |
---|---|
ConnectionFactory |
createConnectionFactory(ConnectionManager manager)
Creates a new connection factory. |
ManagedConnection |
createManagedConnection(java.security.Principal principal,
ConnectionRequestInfo info)
Creates a new connection. |
ManagedConnectionAcceptor |
createManagedConnectionAcceptor(Authenticator authenticator,
ConnectionRequestInfo info)
Creates an acceptor for connections. |
ManagedConnectionAcceptor |
matchManagedConnectionAcceptors(java.util.List acceptors,
ConnectionRequestInfo info)
Returns a matched connection acceptor from the candidate set of acceptors. |
ManagedConnection |
matchManagedConnections(java.util.List connections,
java.security.Principal principal,
ConnectionRequestInfo info)
Returns a matched connection from the candidate set of connections. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VMManagedConnectionFactory()
Method Detail |
---|
public ConnectionFactory createConnectionFactory(ConnectionManager manager) throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
manager
- the connection manager
ResourceException
- if the factory cannot be createdpublic ManagedConnection createManagedConnection(java.security.Principal principal, ConnectionRequestInfo info) throws ResourceException
createManagedConnection
in interface ManagedConnectionFactory
principal
- the security principalinfo
- the connection request info
ResourceException
- if a connection cannot be establishedpublic ManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator, ConnectionRequestInfo info) throws ResourceException
createManagedConnectionAcceptor
in interface ManagedConnectionFactory
authenticator
- authenticates incoming connectionsinfo
- the connection request info
ResourceException
- if an acceptor cannot be createdpublic ManagedConnection matchManagedConnections(java.util.List connections, java.security.Principal principal, ConnectionRequestInfo info) throws ResourceException
matchManagedConnections
in interface ManagedConnectionFactory
connections
- the candidate connectionsprincipal
- the security principalinfo
- the connection request info
null
if none is
found
ResourceException
- for any errorpublic ManagedConnectionAcceptor matchManagedConnectionAcceptors(java.util.List acceptors, ConnectionRequestInfo info) throws ResourceException
matchManagedConnectionAcceptors
in interface ManagedConnectionFactory
acceptors
- the candidate connection acceptorsinfo
- the connection request info
null
if none is
found
ResourceException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |