com.sleepycat.je.jca.ra
Class JEManagedConnectionFactory
java.lang.Object
com.sleepycat.je.jca.ra.JEManagedConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory
public class JEManagedConnectionFactory
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory, java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JEManagedConnectionFactory
public JEManagedConnectionFactory()
createConnectionFactory
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
createConnectionFactory
public java.lang.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(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
- Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
setUserName
public void setUserName(java.lang.String userName)
getUserName
public java.lang.String getUserName()
setPassword
public void setPassword(java.lang.String password)
getPassword
public java.lang.String getPassword()
setLogWriter
public void setLogWriter(java.io.PrintWriter out)
throws javax.resource.ResourceException
- Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getLogWriter
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface javax.resource.spi.ManagedConnectionFactory- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface javax.resource.spi.ManagedConnectionFactory- Overrides:
hashCode in class java.lang.Object
Copyright 2004,2008 Oracle. All rights reserved.