org.apache.commons.transaction.memory.jca
Class MapManagedConnectionFactory
java.lang.Object
org.apache.commons.transaction.memory.jca.MapManagedConnectionFactory
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnectionFactory, java.io.Serializable
- public class MapManagedConnectionFactory
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory
- Version:
- $Revision$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MapManagedConnectionFactory
public MapManagedConnectionFactory()
createConnectionFactory
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cm)
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.createConnectionFactory(ConnectionManager)
createConnectionFactory
public java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.createConnectionFactory()
createManagedConnection
public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
throws javax.resource.ResourceException
- Specified by:
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.createManagedConnection(Subject, ConnectionRequestInfo)
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.matchManagedConnections(Set, Subject, ConnectionRequestInfo)
setLogWriter
public void setLogWriter(java.io.PrintWriter writer)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.setLogWriter(PrintWriter)
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
- See Also:
ManagedConnectionFactory.getLogWriter()
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interface javax.resource.spi.ManagedConnectionFactory
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.