1 45 package org.exolab.jms.net.connector; 46 47 import java.security.Principal ; 48 49 import org.exolab.jms.net.uri.URI; 50 51 52 59 public interface ConnectionPool { 60 61 69 ManagedConnection createManagedConnection(Principal principal, 70 ConnectionRequestInfo info) 71 throws ResourceException; 72 73 81 ManagedConnectionAcceptor createManagedConnectionAcceptor( 82 Authenticator authenticator, ConnectionRequestInfo info) 83 throws ResourceException; 84 85 94 ManagedConnection matchManagedConnections(Principal principal, 95 ConnectionRequestInfo info) 96 throws ResourceException; 97 98 106 ManagedConnectionAcceptor matchManagedConnectionAcceptors( 107 ConnectionRequestInfo info) throws ResourceException; 108 109 115 ManagedConnectionAcceptorListener getManagedConnectionAcceptorListener() 116 throws ResourceException; 117 118 123 void setCallerListener(CallerListener listener); 124 125 130 void close() throws ResourceException; 131 132 } 133 | Popular Tags |