|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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(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,
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 |
| Methods inherited from interface javax.resource.spi.ResourceAdapter |
|---|
endpointActivation, endpointDeactivation, getXAResources, start, stop |
| Constructor Detail |
public CobolLocalTxManagedConnectionFactory()
| Method Detail |
public void setResourceAdapter(ResourceAdapter ra)
throws ResourceException
ResourceExceptionpublic ResourceAdapter getResourceAdapter()
public Object createConnectionFactory(ConnectionManager cxManager)
throws ResourceException
createConnectionFactory in interface ManagedConnectionFactorycxManager - The connection Manager Instance. In a managed connection
case, the app server supplies the connection manager.
ResourceException
public Object createConnectionFactory()
throws ResourceException
createConnectionFactory in interface ManagedConnectionFactoryResourceException
public ManagedConnection createManagedConnection(Subject subject,
ConnectionRequestInfo info)
throws ResourceException
createManagedConnection in interface ManagedConnectionFactorysubject - The subject instanceinfo - Connection Request info
ResourceException
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo info)
throws ResourceException
matchManagedConnections in interface ManagedConnectionFactoryconnectionSet - The connection pool of Managed Connectionssubject - The subject instanceinfo - Connection Request info
ResourceException
public void setLogWriter(PrintWriter out)
throws ResourceException
setLogWriter in interface ManagedConnectionFactoryout - PrintWriter instance
ResourceException
public PrintWriter getLogWriter()
throws ResourceException
getLogWriter in interface ManagedConnectionFactoryResourceExceptionpublic boolean equals(Object obj)
equals in interface ManagedConnectionFactorypublic int hashCode()
hashCode in interface ManagedConnectionFactory
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.