org.jboss.jmx.examples.configuration
Class SampleMBeanConfigurator

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.jmx.examples.configuration.MBeanConfiguratorSupport
              extended by org.jboss.jmx.examples.configuration.SampleMBeanConfigurator
All Implemented Interfaces:
EventListener, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, NotificationListener, MBeanConfiguratorSupportMBean, SampleMBeanConfiguratorMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean

public class SampleMBeanConfigurator
extends MBeanConfiguratorSupport
implements SampleMBeanConfiguratorMBean

A SampleMBeanConfigurator.

Version:
$Revision: 85945 $
Author:
Brian Stansberry

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.jmx.examples.configuration.MBeanConfiguratorSupport
MBeanConfiguratorSupport.RegistrationNotificationFilter
 
Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
SampleMBeanConfigurator()
           
 
Method Summary
 ObjectName getSampleServiceObjectName()
           
 void mbeanRegistered(ObjectName objectName)
           
 void setSampleServiceObjectName(ObjectName sampleServiceObjectName)
           
 
Methods inherited from class org.jboss.jmx.examples.configuration.MBeanConfiguratorSupport
getName, getServiceBindingManager, handleNotification, setServiceBindingManager, startService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, stopService, unsetKernelControllerContext
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.jmx.examples.configuration.MBeanConfiguratorSupportMBean
getServiceBindingManager, setServiceBindingManager
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

SampleMBeanConfigurator

public SampleMBeanConfigurator()
Method Detail

getSampleServiceObjectName

public ObjectName getSampleServiceObjectName()
Specified by:
getSampleServiceObjectName in interface SampleMBeanConfiguratorMBean

setSampleServiceObjectName

public void setSampleServiceObjectName(ObjectName sampleServiceObjectName)
Specified by:
setSampleServiceObjectName in interface SampleMBeanConfiguratorMBean

mbeanRegistered

public void mbeanRegistered(ObjectName objectName)
                     throws Exception
Specified by:
mbeanRegistered in class MBeanConfiguratorSupport
Throws:
Exception


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