|
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.server.TCPIPServerEndpoint
public class TCPIPServerEndpoint
Implementatin of EwayEndpoint for TCPIP Server Activations.
Field Summary | |
---|---|
protected TCPIPMonitorData |
mMonitorData
|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
TCPIPServerEndpoint()
Constructor of TCPIPServerEndpoint |
Method Summary | |
---|---|
void |
activation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
javax.resource.spi.BootstrapContext aContext,
com.stc.configuration.IConfiguration aConfiguration,
com.stc.connector.management.util.ObjectReference aMonitor)
Activate eWay endpoint. |
TCPIPServerApplication |
createTCPIPServerApplication(TCPIPServerApplicationConnection serverAppConn,
java.lang.String appName)
Creates TCPIPServerApplication object. |
void |
deactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef)
Deactivate (terminate) eWay endpoint. |
javax.resource.spi.ActivationSpec |
getActivationSpec()
Returns the activationSpec. |
javax.resource.spi.BootstrapContext |
getBootstrapContext()
Returns the bootstrapContext. |
com.stc.connector.framework.util.ConfigurationHelper |
getConfiguration()
Return the initial configuration. |
javax.resource.spi.endpoint.MessageEndpointFactory |
getMessageEndpointFactory()
Returns the MessageEndpointFactory. |
com.stc.connector.management.util.ObjectReference |
getMonitor()
Method getMonitor. |
java.util.Vector |
getMonitorSchedulerList()
|
java.util.Vector |
getMonitorTaskList()
|
java.util.Vector |
getMonitorWorkList()
|
TCPIPServerSocket |
getTCPIPServer()
Returns the TCPIPServerSocket. |
TCPIPServerGeneralInfo |
getTCPIPServerGeneralInfo()
Returns the TCPIPServerGeneralInfo. |
TCPIPServerScheduleInfo |
getTCPIPServerScheduleInfo()
Returns the TCPIPServerScheduleInfo. |
TCPIPServerSocketInfo |
getTCPIPServerSocketInfo()
Returns the TCPIPServerSocketInfo. |
javax.transaction.xa.XAResource |
getXAResource()
Get the XAResource from the current active eWay endpoint. |
protected void |
initializeMsg()
Method initializeMsg. |
void |
setActivationSpec(javax.resource.spi.ActivationSpec activationSpec)
Sets the activationSpec. |
void |
setMonitor(com.stc.connector.management.util.ObjectReference aValue)
|
void |
setTCPIPServerGeneralInfo(TCPIPServerGeneralInfo info)
Sets the TCPIPServerGeneralInfo. |
void |
setTCPIPServerScheduleInfo(TCPIPServerScheduleInfo info)
Sets the TCPIPServerScheduleInfo. |
void |
setTCPIPServerSocketInfo(TCPIPServerSocketInfo info)
Sets the TCPIPServerSocketInfo. |
void |
updateMBeanConnectionStatus(int status)
Updates RA MBean status to indicate the status of the physical server socket connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
protected TCPIPMonitorData mMonitorData
Constructor Detail |
---|
public TCPIPServerEndpoint()
Method Detail |
---|
public void setMonitor(com.stc.connector.management.util.ObjectReference aValue)
setMonitor
in interface com.stc.connector.management.STCManagedSlave
STCManagedSlave.setMonitor(com.stc.connector.management.util.ObjectReference)
public com.stc.connector.management.util.ObjectReference getMonitor()
public void activation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.BootstrapContext aContext, com.stc.configuration.IConfiguration aConfiguration, com.stc.connector.management.util.ObjectReference aMonitor) throws javax.resource.ResourceException
activation
in interface com.stc.connector.framework.eway.EwayEndpoint
mef
- The MessageEndpointFactory assoicated with the activation.aContext
- The BootstrapContext provided by the container.aConfiguration
- The instance of IConfiguration which contains the
information for creating an endpoint activation.aMonitor
- The monitor ObjectReference.
javax.resource.NotSupportedException
- upon error.
javax.resource.ResourceException
(MessageEndpointFactory, BootstrapContext, IConfiguration, ObjectReference)
protected void initializeMsg() throws javax.resource.NotSupportedException
javax.resource.NotSupportedException
public void deactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef)
deactivation
in interface com.stc.connector.framework.eway.EwayEndpoint
mef
- The MessageEndpointFactory assoicated with the activation.EwayEndpoint.deactivation(MessageEndpointFactory)
public javax.transaction.xa.XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface com.stc.connector.framework.eway.EwayEndpoint
javax.resource.ResourceException
- upon error.EwayEndpoint.getXAResource()
public javax.resource.spi.BootstrapContext getBootstrapContext()
public javax.resource.spi.endpoint.MessageEndpointFactory getMessageEndpointFactory()
public com.stc.connector.framework.util.ConfigurationHelper getConfiguration()
public TCPIPServerGeneralInfo getTCPIPServerGeneralInfo()
public void setTCPIPServerGeneralInfo(TCPIPServerGeneralInfo info)
info
- TCPIPServerGeneralInfopublic TCPIPServerSocketInfo getTCPIPServerSocketInfo()
public void setTCPIPServerSocketInfo(TCPIPServerSocketInfo info)
info
- TCPIPServerSocketInfopublic TCPIPServerScheduleInfo getTCPIPServerScheduleInfo()
public void setTCPIPServerScheduleInfo(TCPIPServerScheduleInfo info)
info
- TCPIPServerScheduleInfopublic TCPIPServerSocket getTCPIPServer()
public TCPIPServerApplication createTCPIPServerApplication(TCPIPServerApplicationConnection serverAppConn, java.lang.String appName) throws TCPIPApplicationException
serverAppConn
- TCPIPServerApplicationConnection instanceappName
- Application name
TCPIPApplicationException
- up on an errorpublic javax.resource.spi.ActivationSpec getActivationSpec()
public void setActivationSpec(javax.resource.spi.ActivationSpec activationSpec)
activationSpec
- The activationSpec to setpublic java.util.Vector getMonitorTaskList()
public java.util.Vector getMonitorWorkList()
public java.util.Vector getMonitorSchedulerList()
public void updateMBeanConnectionStatus(int status)
status
- Notification Event.
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |