|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedConnectionFactory
A factory for ConnectionFactory
, ManagedConnection
and ManagedConnectionAcceptor
instances
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 |
Method Detail |
---|
ConnectionFactory createConnectionFactory(ConnectionManager manager) throws ResourceException
manager
- the connection manager
ResourceException
- if the factory cannot be createdManagedConnection createManagedConnection(java.security.Principal principal, ConnectionRequestInfo info) throws ResourceException
principal
- the security principalinfo
- the connection request info. May be null
ResourceException
- if a connection cannot be establishedManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator, ConnectionRequestInfo info) throws ResourceException
authenticator
- authenticates incoming connectionsinfo
- the connection request info. May be
null
ResourceException
- if an acceptor cannot be createdManagedConnection matchManagedConnections(java.util.List connections, java.security.Principal principal, ConnectionRequestInfo info) throws ResourceException
connections
- the candidate connectionsprincipal
- the security principalinfo
- the connection request info. May be null
null
if none is
found
ResourceException
- for any errorManagedConnectionAcceptor matchManagedConnectionAcceptors(java.util.List acceptors, ConnectionRequestInfo info) throws ResourceException
acceptors
- the candidate connection acceptorsinfo
- the connection request info. May be null
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 |