|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--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.
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)
|
String |
getLogHost()
Get the log host |
String |
getLogPort()
Get the log port |
PrintWriter |
getLogWriter()
get Log Writer |
String |
getServerHost()
Get the server host |
String |
getServerPort()
Get the server port |
Boolean |
getTrace()
Check if tracing is enabled. |
int |
hashCode()
|
ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo info)
Match Managed Connections. |
void |
setLogHost(String logHost)
set the log Host |
void |
setLogPort(String logPort)
Set the log port |
void |
setLogWriter(PrintWriter out)
Set Log Writer |
void |
setServerHost(String serverHost)
Set the server host |
void |
setServerPort(String serverPort)
Set the server port |
void |
setTrace(Boolean trace)
set tracing |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CobolLocalTxManagedConnectionFactory()
Method Detail |
public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
cxManager
- 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 ManagedConnectionFactory
ResourceException
- public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo info) throws ResourceException
createManagedConnection
in interface ManagedConnectionFactory
subject
- The subject instanceinfo
- Connection Request infoResourceException
- public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo info) throws ResourceException
matchManagedConnections
in interface ManagedConnectionFactory
connectionSet
- The connection pool of Managed Connectionssubject
- The subject instanceinfo
- Connection Request infoResourceException
- public void setLogWriter(PrintWriter out) throws ResourceException
setLogWriter
in interface ManagedConnectionFactory
out
- PrintWriter instanceResourceException
- public PrintWriter getLogWriter() throws ResourceException
getLogWriter
in interface ManagedConnectionFactory
ResourceException
- public void setServerHost(String serverHost)
serverHost
- public String getServerHost()
public void setServerPort(String serverPort)
serverPort
- public String getServerPort()
public void setLogHost(String logHost)
logHost
- public String getLogHost()
public void setLogPort(String logPort)
logPort
- public String getLogPort()
public void setTrace(Boolean trace)
trace
- public Boolean getTrace()
public boolean equals(Object obj)
equals
in interface ManagedConnectionFactory
equals
in class Object
public int hashCode()
hashCode
in interface ManagedConnectionFactory
hashCode
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | 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.