|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public ConnectionFactory createConnectionFactory(ConnectionManager manager) throws ResourceException
manager
- the connection managerResourceException
- if the factory cannot be createdpublic ManagedConnection 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 establishedpublic ManagedConnectionAcceptor createManagedConnectionAcceptor(Authenticator authenticator, ConnectionRequestInfo info) throws ResourceException
authenticator
- authenticates incoming connectionsinfo
- the connection request info. May be
null
ResourceException
- if an acceptor cannot be createdpublic ManagedConnection 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
foundResourceException
- for any errorpublic ManagedConnectionAcceptor 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
foundResourceException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |