org.apache.commons.transaction.memory.jca
Class MapManagedConnectionFactory

java.lang.Object
  extended by org.apache.commons.transaction.memory.jca.MapManagedConnectionFactory

public class MapManagedConnectionFactory
extends Object

Version:
$Revision$

Constructor Summary
MapManagedConnectionFactory()
           
 
Method Summary
 Object createConnectionFactory()
           
 Object createConnectionFactory(ConnectionManager cm)
           
 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 writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapManagedConnectionFactory

public MapManagedConnectionFactory()
Method Detail

createConnectionFactory

public Object createConnectionFactory(ConnectionManager cm)
                               throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#createConnectionFactory(ConnectionManager)

createConnectionFactory

public Object createConnectionFactory()
                               throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#createConnectionFactory()

createManagedConnection

public ManagedConnection createManagedConnection(Subject subject,
                                                 ConnectionRequestInfo cxRequestInfo)
                                          throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#createManagedConnection(Subject, ConnectionRequestInfo)

matchManagedConnections

public ManagedConnection matchManagedConnections(Set connectionSet,
                                                 Subject subject,
                                                 ConnectionRequestInfo cxRequestInfo)
                                          throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#matchManagedConnections(Set, Subject, ConnectionRequestInfo)

setLogWriter

public void setLogWriter(PrintWriter writer)
                  throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#setLogWriter(PrintWriter)

getLogWriter

public PrintWriter getLogWriter()
                         throws ResourceException
Throws:
ResourceException
See Also:
ManagedConnectionFactory#getLogWriter()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright ? 2004 The Apache Software Foundation. All Rights Reserved.