Sun Adapter for TCP/IP HL7

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

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.STCMCFMonitor
              extended by com.stc.connector.tcpip.model.mbeans.TCPIPMCFMonitor
                  extended by com.stc.connector.tcpip.hl7.mbeans.HL7MCFMonitor
All Implemented Interfaces:
java.util.EventListener, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener

public class HL7MCFMonitor
extends TCPIPMCFMonitor

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

Version:
cvs revision: $Revision: 1.5 $ Last Modified: $Date: 2008/04/22 05:53:49 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Fields inherited from class com.stc.connector.management.jca.system.mbeans.STCMCFMonitor
mDataContainer
 
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
HL7MCFMonitor(java.lang.String aMCFName, java.lang.String aMCFDescription, com.stc.configuration.IConfiguration aConfiguration, com.stc.configuration.IConfiguration aRAConfiguration)
          Constructor
 
Method Summary
 javax.management.MBeanInfo buildMBeanInfo()
          Method buildMBeanInfo.
 java.lang.Object getAttribute(java.lang.String aName)
           
 void setMonitorDataContainer(com.stc.connector.management.jca.system.mbeans.MonitorDataContainer pDataContainer)
          Method setMonitorDataContainer.
 
Methods inherited from class com.stc.connector.tcpip.model.mbeans.TCPIPMCFMonitor
getManagedConnectionFactory, setManagedConnectionFactory
 
Methods inherited from class com.stc.connector.management.jca.system.mbeans.STCMCFMonitor
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

HL7MCFMonitor

public HL7MCFMonitor(java.lang.String aMCFName,
                     java.lang.String aMCFDescription,
                     com.stc.configuration.IConfiguration aConfiguration,
                     com.stc.configuration.IConfiguration aRAConfiguration)
              throws java.lang.Exception
Constructor

Parameters:
aMCFName -
aMCFDescription -
aConfiguration -
aRAConfiguration -
Throws:
java.lang.Exception
Method Detail

buildMBeanInfo

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

Overrides:
buildMBeanInfo in class TCPIPMCFMonitor
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 TCPIPMCFMonitor
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
See Also:
DynamicMBean.getAttribute(java.lang.String)

setMonitorDataContainer

public void setMonitorDataContainer(com.stc.connector.management.jca.system.mbeans.MonitorDataContainer pDataContainer)
                             throws java.lang.Exception
Method setMonitorDataContainer.

Overrides:
setMonitorDataContainer in class TCPIPMCFMonitor
Parameters:
pDataContainer - MonitorDataContainer to set
Throws:
java.lang.Exception
See Also:
STCMCFMonitor.setMonitorDataContainer(com.stc.connector.management.jca.system.mbeans.MonitorDataContainer)

Sun Adapter for TCP/IP HL7