com.bankframe.jca.samplefileadapter
Class SampleManagedConnectionFactory
java.lang.Object
com.bankframe.jca.samplefileadapter.SampleManagedConnectionFactory
- All Implemented Interfaces:
- Serializable, ManagedConnectionFactory
public class SampleManagedConnectionFactory
- extends Object
- implements ManagedConnectionFactory, Serializable
- See Also:
- Serialized Form
SampleManagedConnectionFactory
public SampleManagedConnectionFactory()
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.