org.openejb.resource.jdbc
Class ManagedConnectionFactoryPathHack

java.lang.Object
  extended byorg.openejb.resource.jdbc.ManagedConnectionFactoryPathHack
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionFactory, Serializable

public class ManagedConnectionFactoryPathHack
extends Object
implements javax.resource.spi.ManagedConnectionFactory, Serializable

Version:
$Revision: 2092 $ $Date: 2005-08-22 21:12:53 -0700 (Mon, 22 Aug 2005) $
See Also:
Serialized Form

Constructor Summary
ManagedConnectionFactoryPathHack(javax.resource.spi.ManagedConnectionFactory factory)
           
 
Method Summary
 Object createConnectionFactory()
           
 Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
           
 javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
           
 boolean equals(Object o)
           
 PrintWriter getLogWriter()
           
 int hashCode()
           
 javax.resource.spi.ManagedConnection matchManagedConnections(Set set, Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
           
 void setLogWriter(PrintWriter printWriter)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionFactoryPathHack

public ManagedConnectionFactoryPathHack(javax.resource.spi.ManagedConnectionFactory factory)
Method Detail

createConnectionFactory

public Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
                               throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

createConnectionFactory

public Object createConnectionFactory()
                               throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                                             throws javax.resource.ResourceException
Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

matchManagedConnections

public javax.resource.spi.ManagedConnection matchManagedConnections(Set set,
                                                                    Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                                             throws javax.resource.ResourceException
Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

setLogWriter

public void setLogWriter(PrintWriter printWriter)
                  throws javax.resource.ResourceException
Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

getLogWriter

public PrintWriter getLogWriter()
                         throws javax.resource.ResourceException
Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ManagedConnectionFactory

equals

public boolean equals(Object o)
Specified by:
equals in interface javax.resource.spi.ManagedConnectionFactory


Copyright © 1999-2007 OpenEJB. All Rights Reserved.