org.otfeed.j2ee.ra
Class OtfeedManagedConnectionFactory
java.lang.Object
org.otfeed.j2ee.ra.OtfeedManagedConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation
public class OtfeedManagedConnectionFactory
- extends java.lang.Object
- implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
equals, hashCode |
OtfeedManagedConnectionFactory
public OtfeedManagedConnectionFactory()
createConnectionFactory
public java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
createConnectionFactory
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
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 connectionInfo)
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 candidates,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo connectionInfo)
throws javax.resource.ResourceException
- Specified by:
matchManagedConnections 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
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
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Specified by:
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter val)
- Specified by:
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
getDefaultUsername
public java.lang.String getDefaultUsername()
setDefaultUsername
public void setDefaultUsername(java.lang.String val)
getDefaultPassword
public java.lang.String getDefaultPassword()
setDefaultPassword
public void setDefaultPassword(java.lang.String val)
getDefaultHostsString
public java.lang.String getDefaultHostsString()
setDefaultHostsString
public void setDefaultHostsString(java.lang.String address)
getDefaultHeartbeatInterval
public java.lang.Long getDefaultHeartbeatInterval()
setDefaultHeartbeatInterval
public void setDefaultHeartbeatInterval(java.lang.Long val)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2007-2008 Mike Kroutikov. All Rights Reserved.