org.apache.commons.transaction.memory.jca
Class MapManagedConnectionFactory
java.lang.Object
org.apache.commons.transaction.memory.jca.MapManagedConnectionFactory
- All Implemented Interfaces:
- ManagedConnectionFactory, Serializable
- public class MapManagedConnectionFactory
- extends Object
- implements ManagedConnectionFactory
- Version:
- $Revision$
- See Also:
- Serialized Form
MapManagedConnectionFactory
public MapManagedConnectionFactory()
createConnectionFactory
public Object createConnectionFactory(ConnectionManager cm)
throws ResourceException
- Specified by:
createConnectionFactory in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.createConnectionFactory(ConnectionManager)
createConnectionFactory
public Object createConnectionFactory()
throws ResourceException
- Specified by:
createConnectionFactory in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.createConnectionFactory()
createManagedConnection
public ManagedConnection createManagedConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
- Specified by:
createManagedConnection in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.createManagedConnection(Subject, ConnectionRequestInfo)
matchManagedConnections
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
- Specified by:
matchManagedConnections in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.matchManagedConnections(Set, Subject, ConnectionRequestInfo)
setLogWriter
public void setLogWriter(PrintWriter writer)
throws ResourceException
- Specified by:
setLogWriter in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.setLogWriter(PrintWriter)
getLogWriter
public PrintWriter getLogWriter()
throws ResourceException
- Specified by:
getLogWriter in interface ManagedConnectionFactory
- Throws:
ResourceException- See Also:
ManagedConnectionFactory.getLogWriter()
equals
public boolean equals(Object other)
- Specified by:
equals in interface ManagedConnectionFactory
hashCode
public int hashCode()
- Specified by:
hashCode in interface ManagedConnectionFactory
Copyright © 2004 The Apache Software Foundation. All Rights Reserved.