javax.resource.spi
Interface ManagedConnectionFactory

All Superinterfaces:
Serializable

public interface ManagedConnectionFactory
extends Serializable

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

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 Detail

createConnectionFactory

Object createConnectionFactory(ConnectionManager cxManager)
                               throws ResourceException
Throws:
ResourceException

createConnectionFactory

Object createConnectionFactory()
                               throws ResourceException
Throws:
ResourceException

createManagedConnection

ManagedConnection createManagedConnection(Subject subject,
                                          ConnectionRequestInfo cxRequestInfo)
                                          throws ResourceException
Throws:
ResourceException

matchManagedConnections

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

setLogWriter

void setLogWriter(PrintWriter out)
                  throws ResourceException
Throws:
ResourceException

getLogWriter

PrintWriter getLogWriter()
                         throws ResourceException
Throws:
ResourceException

hashCode

int hashCode()
Overrides:
hashCode in class Object

equals

boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2006 Apache Software Foundation. All Rights Reserved.