public class CobolManagedConnectionFactory
extends Object
implements ManagedConnectionFactory, ResourceAdapterAssociation, Serializable
See Also:
protected String | serverHost |
protected String | serverPort |
protected String | logHost |
protected String | logPort |
protected Boolean | trace |
protected Boolean | secureGUID |
protected Integer | readTimeoutInSeconds |
Method Summary | |
---|---|
void | setResourceAdapter(ResourceAdapter ra) |
ResourceAdapter | getResourceAdapter(ConnectionManager ra) |
Object | createConnectionFactory(cxManager)
Create a ConnectionFactory with a Connection Manager instance. |
Object | createConnectionFactory(cxManager) |
ManagedConnection | createManagedConnection(Subject subject,
ConnectionRequestInfo info)
Create a managed connection to Cobol Server. |
ManagedConnection | matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo info)
Match Managed Connections. The App Server calls this function to match a connection from the set of connections. The match is based on security credentials. |
void | setLogWriter(PrintWriter out)
Set log writer. |
void | getLogWriter()
Get log writer. |
boolean | equals(Object obj) |
int | hashcode() |
void | setServerHost(String serverHost)
Set the server host. |
String | getServerHost()
Get the server host. |
void | setServerPort(String serverPort)
Set the server port. |
String | getServerPort()
Get the server port. |
void | setLogHost(String logHost)
Set the log host. |
String | getLogHost()
Get the log host. |
void | setLogPort(String logPort)
Set the log port. |
String | getLogPort()
Get the log port. |
void | setTrace(Boolean trace)
Set tracing. |
Boolean | getTrace()
Check if tracing is enabled. |
void | setSecureGUID(Boolean s)
Set secure GUID. |
Boolean | getSecureGUID()
Get secure GUID |
void | setReadTimeoutInSeconds(Integer readTimeoutInSeconds)
Set ReadTimeoutInSeconds |
Integer | getReadTimeoutInSeconds()
Get ReadTimeoutInSeconds |
public void setResourceAdapter(ResourceAdapter ra) throws ResourceException
public ResourceAdapter getResourceAdapter(ConnectionManager ra) throws ResourceException)
public Object createConnectionFactory(cxManager)
Create a ConnectionFactory with a Connection Manager instance.
public Object createConnectionFactory() throws ResourceException
public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo info) throws ResourceException
Create a managed connection to Cobol Server.
public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo info) throws ResourceException
Match Managed Connections. The App Server calls this function to match a connection from the set of connections. The match is based on security credentials.
public void setLogWriter(PrintWriter out) throws ResourceException
Set log writer.
public void getLogWriter()
throws ResourceException
Get log writer.
public void setServerHost (String serverHost)
Set the server host.
public String getServerHost()
Get the server host.
public void setServerPort(String serverPort)
Set the server port.
public String getServerPort()
Get the server port.
public void setLogHost(String logHost)
Set the log host.
public String getLogHost()
Get the log host.
public void setLogPort(String logPort)
Set the log port
public String getLogPort()
Get the log port.
public void setTrace(Boolean trace)
Set tracing.
public Boolean getTrace()
Check if tracing is enabled.
public void setSecureGUID(Boolean s)
Set secure GUID.
public Boolean getSecureGUID()
Check if secure GUID is enabled.
public void setReadTimeoutInSeconds(Integer readTimeoutInSeconds)
Set ReadTimeoutInSeconds.
public Integer getReadTimeoutInSeconds()
Get ReadTimeoutInSeconds
public boolean equals (Object obj)
public int hashCode()