javax.resource.spi
Interface ManagedConnectionFactory

All Superinterfaces:
java.io.Serializable

public interface ManagedConnectionFactory
extends java.io.Serializable

Version:
$Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $

Method Summary
 java.lang.Object createConnectionFactory()
           
 java.lang.Object createConnectionFactory(ConnectionManager cxManager)
           
 ManagedConnection createManagedConnection(javax.security.auth.Subject subject, ConnectionRequestInfo cxRequestInfo)
           
 boolean equals(java.lang.Object other)
           
 java.io.PrintWriter getLogWriter()
           
 int hashCode()
           
 ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.Subject subject, ConnectionRequestInfo cxRequestInfo)
           
 void setLogWriter(java.io.PrintWriter out)
           
 

Method Detail

createConnectionFactory

java.lang.Object createConnectionFactory(ConnectionManager cxManager)
                                         throws ResourceException
Throws:
ResourceException

createConnectionFactory

java.lang.Object createConnectionFactory()
                                         throws ResourceException
Throws:
ResourceException

createManagedConnection

ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
                                          ConnectionRequestInfo cxRequestInfo)
                                          throws ResourceException
Throws:
ResourceException

matchManagedConnections

ManagedConnection matchManagedConnections(java.util.Set connectionSet,
                                          javax.security.auth.Subject subject,
                                          ConnectionRequestInfo cxRequestInfo)
                                          throws ResourceException
Throws:
ResourceException

setLogWriter

void setLogWriter(java.io.PrintWriter out)
                  throws ResourceException
Throws:
ResourceException

getLogWriter

java.io.PrintWriter getLogWriter()
                                 throws ResourceException
Throws:
ResourceException

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright © 2009. All Rights Reserved.