java.lang.Objectcom.microfocus.cobol.connector.spi.CobolResourceAdapter
com.microfocus.cobol.connector.spi.CobolLocalTxManagedConnectionFactory
This ManagedConnectionFactory implementation class implements the LocalTransaction support. This is used by the App Server to create and match managed connections.
Field Summary |
Fields inherited from class com.microfocus.cobol.connector.spi.CobolResourceAdapter |
logHost, logPort, serverHost, serverPort, trace |
Constructor Summary | |
CobolLocalTxManagedConnectionFactory()
Create a Local TX Managed Connection Factory instance |
Method Summary | |
Object |
createConnectionFactory()
Create a ConnectionFactory with a Connection Manager instance. |
Object |
createConnectionFactory(ConnectionManager cxManager)
Create a ConnectionFactory with a Connection Manager instance. |
ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo info)
Create a managed connection to Cobol Server. |
boolean |
equals(Object obj)
|
PrintWriter |
getLogWriter()
get Log Writer |
ResourceAdapter |
getResourceAdapter()
|
int |
hashCode()
|
ManagedConnection |
matchManagedConnections(Set connectionSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo info)
Match Managed Connections. |
void |
setLogWriter(PrintWriter out)
Set Log Writer |
void |
setResourceAdapter(ResourceAdapter ra)
|
Methods inherited from class com.microfocus.cobol.connector.spi.CobolResourceAdapter |
endpointActivation, endpointDeactivation, getLogHost, getLogPort, getServerHost, getServerPort, getTrace, getXAResources, setLogHost, setLogPort, setServerHost, setServerPort, setTrace, start, stop |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CobolLocalTxManagedConnectionFactory()
Method Detail |
public void setResourceAdapter(ResourceAdapter ra) throws ResourceException
ResourceException
public ResourceAdapter getResourceAdapter()
public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException
cxManager
- The connection Manager Instance. In a managed connection
case, the app server supplies the connection manager.
ResourceException
public Object createConnectionFactory() throws ResourceException
ResourceException
public ManagedConnection createManagedConnection(javax.security.auth.Subject subject, ConnectionRequestInfo info) throws ResourceException
subject
- The subject instanceinfo
- Connection Request info
ResourceException
public ManagedConnection matchManagedConnections(Set connectionSet, javax.security.auth.Subject subject, ConnectionRequestInfo info) throws ResourceException
connectionSet
- The connection pool of Managed Connectionssubject
- The subject instanceinfo
- Connection Request info
ResourceException
public void setLogWriter(PrintWriter out) throws ResourceException
out
- PrintWriter instance
ResourceException
public PrintWriter getLogWriter() throws ResourceException
ResourceException
public boolean equals(Object obj)
public int hashCode()
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.