org.openmdx.kernel.application.container.spi.sql
Class ManagedDatabaseConnectionFactory
java.lang.Object
org.openmdx.kernel.application.container.spi.sql.ManagedDatabaseConnectionFactory
- All Implemented Interfaces:
- Serializable, ManagedConnectionFactory
public class ManagedDatabaseConnectionFactory
- extends Object
- implements ManagedConnectionFactory
Managed Database Connection Factory
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedDatabaseConnectionFactory
public ManagedDatabaseConnectionFactory(XADataSource xaDataSource,
DatabaseConnectionRequestInfo connectionRequestInfo)
createConnectionFactory
public Object createConnectionFactory(ConnectionManager connectionManager)
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 connectionRequestInfo)
throws ResourceException
- Specified by:
createManagedConnection in interface ManagedConnectionFactory
- Throws:
ResourceException
matchManagedConnections
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo connectionRequestInfo)
throws ResourceException
- Specified by:
matchManagedConnections in interface ManagedConnectionFactory
- Throws:
ResourceException
setLogWriter
public void setLogWriter(PrintWriter logWriter)
- Specified by:
setLogWriter in interface ManagedConnectionFactory
getLogWriter
public PrintWriter getLogWriter()
- Specified by:
getLogWriter in interface ManagedConnectionFactory
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.