org.jboss.system
Class ServiceCreator

java.lang.Object
  extended by org.jboss.system.ServiceCreator

public class ServiceCreator
extends Object

A helper class for the controller.

Version:
$Revision: 1.19.2.3 $
Author:
Marc Fleury, David Jencks
See Also:
Service

Constructor Summary
ServiceCreator(javax.management.MBeanServer server)
          CTOR
 
Method Summary
 javax.management.ObjectInstance install(javax.management.ObjectName mbeanName, javax.management.ObjectName loaderName, Element mbeanElement)
          Parses the given configuration document and creates MBean instances in the current MBean server.
 void remove(javax.management.ObjectName name)
           
 void shutdown()
          Clean shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCreator

public ServiceCreator(javax.management.MBeanServer server)
CTOR

Method Detail

shutdown

public void shutdown()
Clean shutdown


install

public javax.management.ObjectInstance install(javax.management.ObjectName mbeanName,
                                               javax.management.ObjectName loaderName,
                                               Element mbeanElement)
                                        throws Exception
Parses the given configuration document and creates MBean instances in the current MBean server.

Parameters:
configuration - The configuration document.
Throws:
ConfigurationException - The configuration document contains invalid or missing syntax.
Exception - Failed for some other reason.

remove

public void remove(javax.management.ObjectName name)
            throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.