com.stc.connector.tcpip.model.mbeans
Class TCPIPRAMonitor
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.stc.connector.management.jca.system.mbeans.BaseMonitorMBean
com.stc.connector.management.jca.system.mbeans.STCRAMonitor
com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitor
- All Implemented Interfaces:
- java.util.EventListener, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener
- Direct Known Subclasses:
- HL7RAMonitor
public class TCPIPRAMonitor
- extends com.stc.connector.management.jca.system.mbeans.STCRAMonitor
This class is used to add TCP/IP specific mbean properties for monitor display.
- Version:
- cvs revision: $Revision: 1.5 $ Last Modified: $Date: 2008/04/23 07:15:18 $
- 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 |
TCPIPRAMonitor(java.lang.String aRAName,
java.lang.String aRADescription,
com.stc.configuration.IConfiguration aConfiguration,
java.lang.String aVersion,
java.lang.String aSupportedNodes)
Constructor |
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 |
version
public static final java.lang.String version
- See Also:
- Constant Field Values
TCPIPRAMonitor
public TCPIPRAMonitor(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
- name of the RAaRADescription
- description of the RAaConfiguration
- configuration of the RAaVersion
- version of the RAaSupportedNodes
- supported nodes by the RA
- Throws:
java.lang.Exception
buildMBeanInfo
public javax.management.MBeanInfo buildMBeanInfo()
- Overrides:
buildMBeanInfo
in class com.stc.connector.management.jca.system.mbeans.STCRAMonitor
- 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 com.stc.connector.management.jca.system.mbeans.STCRAMonitor
- Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
- See Also:
DynamicMBean.getAttribute(java.lang.String)
getLastReceiveOperationTimestamp
public java.lang.String getLastReceiveOperationTimestamp()
- See Also:
com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitorBean#getLastReceiveOperationTimestamp()
getLastSendOperationTimestamp
public java.lang.String getLastSendOperationTimestamp()
- See Also:
com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitorBean#getLastSendOperationTimestamp()
setLastReceiveOperationTimestamp
public void setLastReceiveOperationTimestamp(java.lang.String receiveTime)
- See Also:
com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitorBean#setLastReceiveOperationTimestamp(java.lang.String)
setLastSendOperationTimestamp
public void setLastSendOperationTimestamp(java.lang.String sendTime)
- See Also:
com.stc.connector.tcpip.model.mbeans.TCPIPRAMonitorBean#setLastSendOperationTimestamp(java.lang.String)