org.apache.openejb.monitoring.remote
Class RemoteResourceMonitor

java.lang.Object
  extended by org.apache.openejb.monitoring.remote.RemoteResourceMonitor
All Implemented Interfaces:
DynamicMBean

public class RemoteResourceMonitor
extends Object
implements DynamicMBean


Constructor Summary
RemoteResourceMonitor()
           
 
Method Summary
 void addHost(String host)
           
 Object getAttribute(String attribute)
           
 AttributeList getAttributes(String[] attributes)
           
 MBeanInfo getMBeanInfo()
           
 Object invoke(String actionName, Object[] params, String[] signature)
           
 void registerIfNot()
           
 void removeHost(String host)
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(AttributeList attributes)
           
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteResourceMonitor

public RemoteResourceMonitor()
Method Detail

addHost

public void addHost(String host)

removeHost

public void removeHost(String host)

registerIfNot

public void registerIfNot()

unregister

public void unregister()

invoke

public Object invoke(String actionName,
                     Object[] params,
                     String[] signature)
              throws MBeanException,
                     ReflectionException
Specified by:
invoke in interface DynamicMBean
Throws:
MBeanException
ReflectionException

getMBeanInfo

public MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean

getAttribute

public Object getAttribute(String attribute)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Specified by:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Specified by:
setAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

getAttributes

public AttributeList getAttributes(String[] attributes)
Specified by:
getAttributes in interface DynamicMBean

setAttributes

public AttributeList setAttributes(AttributeList attributes)
Specified by:
setAttributes in interface DynamicMBean


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.