oracle.workspaces.search.searchlet
Class CwManagedConnection
java.lang.Object
oracle.resource.spi.support.LogWriterSupport
oracle.resource.spi.support.AbstractManagedConnection
oracle.search.spi.SimpleManagedConnection
oracle.workspaces.search.searchlet.CwManagedConnection
- All Implemented Interfaces:
- javax.resource.spi.ManagedConnection
- public class CwManagedConnection
- extends oracle.search.spi.SimpleManagedConnection
A physical connection to a searchlet. Use an instance of CwManagedConnectionFactory to get an instance of this class.
Method Summary |
java.lang.Object |
getConnection(javax.security.auth.Subject user, javax.resource.spi.ConnectionRequestInfo info)
Create a logical connection on top of this physical connection. |
Methods inherited from class oracle.search.spi.SimpleManagedConnection |
associateConnection, cleanup, destroy, getLocalTransaction, getMetaData, getXAResource |
Methods inherited from class oracle.resource.spi.support.AbstractManagedConnection |
addConnectionEventListener, removeConnectionEventListener, sendEvent |
Methods inherited from class oracle.resource.spi.support.LogWriterSupport |
getLogWriter, setLogWriter, writeLog, writeLog |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.resource.spi.ManagedConnection |
getLogWriter, setLogWriter |
CwManagedConnection
public CwManagedConnection()
getConnection
public java.lang.Object getConnection(javax.security.auth.Subject user,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
- Create a logical connection on top of this physical connection.
-
- Parameters:
user
- the connecting user
info
- other info related to the connection
- Returns:
- an instance of CwConnection
- Throws:
javax.resource.ResourceException