com.bankframe.jca.samplefileadapter
Class SampleManagedConnectionFactory

java.lang.Object
  extended by com.bankframe.jca.samplefileadapter.SampleManagedConnectionFactory
All Implemented Interfaces:
Serializable, ManagedConnectionFactory

public class SampleManagedConnectionFactory
extends Object
implements ManagedConnectionFactory, Serializable

See Also:
Serialized Form

Constructor Summary
SampleManagedConnectionFactory()
           
 
Method Summary
 Object createConnectionFactory()
           
 Object createConnectionFactory(ConnectionManager cxManager)
           
 ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo info)
           
 boolean equals(Object obj)
           
 PrintWriter getLogWriter()
           
 int hashCode()
           
 ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo info)
           
 void setLogWriter(PrintWriter out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleManagedConnectionFactory

public SampleManagedConnectionFactory()
Method Detail

createConnectionFactory

public Object createConnectionFactory(ConnectionManager cxManager)
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException

createConnectionFactory

public Object createConnectionFactory()
                               throws ResourceException
Specified by:
createConnectionFactory in interface ManagedConnectionFactory
Throws:
ResourceException

createManagedConnection

public ManagedConnection createManagedConnection(Subject subject,
                                                 ConnectionRequestInfo info)
Specified by:
createManagedConnection in interface ManagedConnectionFactory

matchManagedConnections

public ManagedConnection matchManagedConnections(Set connectionSet,
                                                 Subject subject,
                                                 ConnectionRequestInfo info)
                                          throws ResourceException
Specified by:
matchManagedConnections in interface ManagedConnectionFactory
Throws:
ResourceException

setLogWriter

public void setLogWriter(PrintWriter out)
                  throws ResourceException
Specified by:
setLogWriter in interface ManagedConnectionFactory
Throws:
ResourceException

getLogWriter

public PrintWriter getLogWriter()
                         throws ResourceException
Specified by:
getLogWriter in interface ManagedConnectionFactory
Throws:
ResourceException

equals

public boolean equals(Object obj)
Specified by:
equals in interface ManagedConnectionFactory
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface ManagedConnectionFactory
Overrides:
hashCode in class Object


Copyright © 2005, 2007, Oracle. All rights reserved.