javax.resource.spi

Interface ManagedConnectionFactory

All Superinterfaces:
Serializable

public interface ManagedConnectionFactory
extends Serializable

Method Summary

Object
createConnectionFactory()
Object
createConnectionFactory(ConnectionManager cxManager)
ManagedConnection
createManagedConnection(Subject subject, ConnectionRequestInfo cxRequestInfo)
boolean
equals(Object other)
PrintWriter
getLogWriter()
int
hashCode()
ManagedConnection
matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo)
void
setLogWriter(PrintWriter out)

Method Details

createConnectionFactory

public Object createConnectionFactory()
            throws ResourceException

createConnectionFactory

public Object createConnectionFactory(ConnectionManager cxManager)
            throws ResourceException

createManagedConnection

public ManagedConnection createManagedConnection(Subject subject,
                                                 ConnectionRequestInfo cxRequestInfo)
            throws ResourceException

equals

public boolean equals(Object other)

getLogWriter

public PrintWriter getLogWriter()
            throws ResourceException

hashCode

public int hashCode()

matchManagedConnections

public ManagedConnection matchManagedConnections(Set connectionSet,
                                                 Subject subject,
                                                 ConnectionRequestInfo cxRequestInfo)
            throws ResourceException

setLogWriter

public void setLogWriter(PrintWriter out)
            throws ResourceException