Sun Adapter for TCP/IP HL7

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

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

public class HL7ActivationSpecMonitor
extends TCPIPActivationSpecMonitor

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.STCActivationSpecMonitor
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
HL7ActivationSpecMonitor(java.lang.String aName, java.lang.String aDescription, 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.TCPIPActivationSpecMonitor
getActivationSpec, setActivationSpec
 
Methods inherited from class com.stc.connector.management.jca.system.mbeans.STCActivationSpecMonitor
handleNotification, invoke, postDeregister
 
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, postRegister, 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

HL7ActivationSpecMonitor

public HL7ActivationSpecMonitor(java.lang.String aName,
                                java.lang.String aDescription,
                                com.stc.configuration.IConfiguration aConfiguration,
                                com.stc.configuration.IConfiguration aRAConfiguration)
                         throws java.lang.Exception
Constructor

Parameters:
aName -
aDescription -
aConfiguration -
aRAConfiguration -
Throws:
java.lang.Exception
Method Detail

buildMBeanInfo

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

Overrides:
buildMBeanInfo in class TCPIPActivationSpecMonitor
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 TCPIPActivationSpecMonitor
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 TCPIPActivationSpecMonitor
Parameters:
pDataContainer - MonitorDataContainer to set
Throws:
java.lang.Exception
See Also:
STCActivationSpecMonitor.setMonitorDataContainer(com.stc.connector.management.jca.system.mbeans.MonitorDataContainer)

Sun Adapter for TCP/IP HL7