JBossMX Parent POM 6.0.0.GA

org.jboss.jmx.mbeanserver
Class MBeanServerChain

java.lang.Object
  extended by org.jboss.jmx.mbeanserver.DelegateMBeanServer
      extended by org.jboss.jmx.mbeanserver.MBeanServerChain
All Implemented Interfaces:
MBeanServer, MBeanServerConnection

public class MBeanServerChain
extends DelegateMBeanServer

MBeanServerChain.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
MBeanServerChain(DelegateState state)
          Create a new MBeanServerChain.
 
Method Summary
 void addFirst(DelegateMBeanServer server)
          Add as the first in the chain
 void addLast(DelegateMBeanServer server)
          Add as the last in the chain
 void setTarget(MBeanServer server)
          Set the target in the chain
 
Methods inherited from class org.jboss.jmx.mbeanserver.DelegateMBeanServer
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getDefaultDomain, getDelegate, getDomains, getMBeanCount, getMBeanInfo, getNext, getObjectInstance, getOuter, getState, instantiate, instantiate, instantiate, instantiate, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, setNext, unregisterMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerChain

public MBeanServerChain(DelegateState state)
Create a new MBeanServerChain.

Parameters:
state -
Method Detail

addFirst

public void addFirst(DelegateMBeanServer server)
Add as the first in the chain

Parameters:
server - the server
Throws:
IllegalArgumentException - for a null server
SecurityException - if not authorised

addLast

public void addLast(DelegateMBeanServer server)
Add as the last in the chain

Parameters:
server - the server
Throws:
IllegalArgumentException - for a null server
SecurityException - if not authorised

setTarget

public void setTarget(MBeanServer server)
Set the target in the chain

Parameters:
server - the server
Throws:
IllegalArgumentException - for a null server
IllegalStateException - if the target is already set
SecurityException - if not authorised

JBossMX Parent POM 6.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.