|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.tcpip.model.client.TCPIPEwayConnection
com.stc.connector.tcpip.ext.client.TCPIPEXTEwayConnection
com.stc.connector.tcpip.hl7.client.HL7EwayConnection
public class HL7EwayConnection
This class implements the EwayConnection interface for the extended TCPIP connection oriented services for the Eway/JCA framework.
Field Summary | |
---|---|
static java.lang.String |
version
|
Fields inherited from class com.stc.connector.tcpip.model.client.TCPIPEwayConnection |
---|
mMonitorData |
Constructor Summary | |
---|---|
HL7EwayConnection()
Constructor for HL7EwayConnection. |
Method Summary | |
---|---|
void |
cleanup()
Perform clean up of any resources or reset of any state held by the instance of EwayConnection. |
TCPIPClientApplication |
createTCPIPClientApplication(TCPIPApplicationConnection appConn,
java.lang.String appName)
Creates TCPIPClientApplication object. |
void |
destroy()
Release any resources prior to the destruction of the associated ManagedConnection. |
HL7MessageInfo |
getHL7MessageInfo()
Returns the hl7MessageInfo. |
javax.resource.spi.ManagedConnectionMetaData |
getMetaData()
Get a new instance of the ManagedConnectionMetaData which contains connection information for the currently established connection. |
void |
initialize(com.stc.connector.framework.eway.ManagedConnectionCallback aCallback,
javax.security.auth.Subject aSubject,
javax.resource.spi.ConnectionRequestInfo aConfiguration,
com.stc.connector.management.jca.system.mbeans.MonitorDataContainer aMonitorDataContainer)
Method initialize used to initializ the eway connection. |
protected void |
initializeMsg()
Method initializeMsg. |
void |
setHL7MessageInfo(HL7MessageInfo hl7MessageInfo)
Sets the hl7MessageInfo. |
Methods inherited from class com.stc.connector.tcpip.ext.client.TCPIPEXTEwayConnection |
---|
getMessageInfo, setMessageInfo |
Methods inherited from class com.stc.connector.tcpip.model.client.TCPIPEwayConnection |
---|
closeConnection, destroyConnectionHandles, generateAlert, getConfiguration, getConnection, getConnectionHandles, getCurrentApplicationConnection, getLocalTransaction, getManagedConnectionCallback, getMonitor, getSocket, getSubject, getTCPIPClientGeneralInfo, getTCPIPResourceAdapter, getTCPIPSocketInfo, getXAResource, isValidConnection, matchConnection, setMonitor, setTCPIPClientGeneralInfo, setTCPIPSocketInfo, updateMBeanConnectionStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.stc.connector.framework.eway.EwayConnection |
---|
getConnection, getLocalTransaction, getXAResource, matchConnection |
Field Detail |
---|
public static final java.lang.String version
Constructor Detail |
---|
public HL7EwayConnection()
Method Detail |
---|
public void initialize(com.stc.connector.framework.eway.ManagedConnectionCallback aCallback, javax.security.auth.Subject aSubject, javax.resource.spi.ConnectionRequestInfo aConfiguration, com.stc.connector.management.jca.system.mbeans.MonitorDataContainer aMonitorDataContainer) throws javax.resource.ResourceException
initialize
in interface com.stc.connector.framework.eway.EwayConnection
initialize
in class TCPIPEXTEwayConnection
aCallback
- ManagedConnectionCallbackaSubject
- SubjectaConfiguration
- ConnectionRequestInfoaMonitorDataContainer
- MonitorDataContainer
javax.resource.ResourceException
EwayConnection.initialize(ManagedConnectionCallback, Subject, ConnectionRequestInfo, MonitorDataContainer)
protected void initializeMsg() throws javax.resource.ResourceException
TCPIPEwayConnection
initializeMsg
in class TCPIPEXTEwayConnection
javax.resource.ResourceException
TCPIPEwayConnection.initializeMsg()
public void cleanup() throws javax.resource.ResourceException
TCPIPEwayConnection
cleanup
in interface com.stc.connector.framework.eway.EwayConnection
cleanup
in class TCPIPEXTEwayConnection
javax.resource.ResourceException
- upon error.EwayConnection.cleanup()
public void destroy() throws javax.resource.ResourceException
TCPIPEwayConnection
destroy
in interface com.stc.connector.framework.eway.EwayConnection
destroy
in class TCPIPEXTEwayConnection
javax.resource.ResourceException
- upon error.EwayConnection.destroy()
public javax.resource.spi.ManagedConnectionMetaData getMetaData() throws javax.resource.ResourceException
TCPIPEwayConnection
getMetaData
in interface com.stc.connector.framework.eway.EwayConnection
getMetaData
in class TCPIPEXTEwayConnection
javax.resource.ResourceException
- upon error.EwayConnection.getMetaData()
public TCPIPClientApplication createTCPIPClientApplication(TCPIPApplicationConnection appConn, java.lang.String appName) throws TCPIPApplicationException
TCPIPEwayConnection
createTCPIPClientApplication
in class TCPIPEXTEwayConnection
appConn
- TCPIPApplicationConnection instanceappName
- Application name
TCPIPApplicationException
- up on an errorTCPIPEwayConnection.createTCPIPClientApplication(TCPIPApplicationConnection, String)
public HL7MessageInfo getHL7MessageInfo()
public void setHL7MessageInfo(HL7MessageInfo hl7MessageInfo)
hl7MessageInfo
- The hl7MessageInfo to set
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |