Sun Adapter for TCP/IP HL7

com.stc.connector.tcpip.hl7.mbeans
Class HL7RAMonitor

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by com.stc.connector.management.jca.system.mbeans.BaseMonitorMBean
          extended by com.stc.connector.management.jca.system.mbeans.STCRAMonitor
              extended by com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitor
                  extended by com.stc.connector.tcpip.hl7.mbeans.HL7RAMonitor
All Implemented Interfaces:
java.util.EventListener, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener

public class HL7RAMonitor
extends TCPIPRAMonitor

This class is used to add HL7 specific mbean properties for monitor display.

Version:
cvs revision: $Revision: 1.6 $ Last Modified: $Date: 2008/04/24 12:54:14 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Fields inherited from class com.stc.connector.management.jca.system.mbeans.BaseMonitorMBean
mActivatedTime, mConfiguration, mDescription, mIsRestartable, mIsStartable, mIsStoppable, mLog, mMBeanServer, mMonitor, mName, mObjectName, mProperties, mShutdownTime, mStarted
 
Constructor Summary
HL7RAMonitor(java.lang.String aRAName, java.lang.String aRADescription, com.stc.configuration.IConfiguration aConfiguration, java.lang.String aVersion, java.lang.String aSupportedNodes)
          Constructor
 
Method Summary
 javax.management.MBeanInfo buildMBeanInfo()
          Method buildMBeanInfo.
 java.lang.Object getAttribute(java.lang.String aName)
           
 java.lang.String getHL7SequenceNumber()
          Method getHL7SequenceNumber
 void setHL7SequenceNumber(java.lang.String seq)
          Method setHL7SequenceNumber
 
Methods inherited from class com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitor
getLastReceiveOperationTimestamp, getLastSendOperationTimestamp, setLastReceiveOperationTimestamp, setLastSendOperationTimestamp
 
Methods inherited from class com.stc.connector.management.jca.system.mbeans.STCRAMonitor
handleNotification, invoke, postRegister
 
Methods inherited from class com.stc.connector.management.jca.system.mbeans.BaseMonitorMBean
addNotificationListener, getActivatedTime, getAttributes, getConfigTemplateAsString, getConfigurationAsString, getMBeanInfo, getName, getProperties, getShutdownTime, getStatus, isRestartable, isStartable, isStarted, isStoppable, postDeregister, preDeregister, preRegister, removeNotificationListener, restart, sendNotification, setAttribute, setAttributes, start, stop
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
getNotificationInfo, handleNotification, removeNotificationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

HL7RAMonitor

public HL7RAMonitor(java.lang.String aRAName,
                    java.lang.String aRADescription,
                    com.stc.configuration.IConfiguration aConfiguration,
                    java.lang.String aVersion,
                    java.lang.String aSupportedNodes)
             throws java.lang.Exception
Constructor

Parameters:
aRAName -
aRADescription -
aConfiguration -
aVersion -
aSupportedNodes -
Throws:
java.lang.Exception
Method Detail

buildMBeanInfo

public javax.management.MBeanInfo buildMBeanInfo()
Method buildMBeanInfo.

Overrides:
buildMBeanInfo in class TCPIPRAMonitor
Returns:
MBeanInfo
See Also:
BaseMonitorMBean.buildMBeanInfo()

getAttribute

public java.lang.Object getAttribute(java.lang.String aName)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Overrides:
getAttribute in class TCPIPRAMonitor
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
See Also:
DynamicMBean.getAttribute(java.lang.String)

getHL7SequenceNumber

public java.lang.String getHL7SequenceNumber()
Method getHL7SequenceNumber

Returns:
String hl7SequenceNumber
See Also:
com.stc.connector.tcpip.hl7.mbeans.HL7RAMonitorBean#getHL7SequenceNumber()

setHL7SequenceNumber

public void setHL7SequenceNumber(java.lang.String seq)
Method setHL7SequenceNumber

Parameters:
seq - Sequence number to set
See Also:
com.stc.connector.tcpip.hl7.mbeans.HL7RAMonitorBean#setHL7SequenceNumber(java.lang.String)

Sun Adapter for TCP/IP HL7