org.jboss.system
Class ServiceCreator

java.lang.Object
  extended byorg.jboss.system.ServiceCreator

public class ServiceCreator
extends java.lang.Object

A helper class for the controller.

See Also:
Service (src)

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

Constructor Detail

ServiceCreator

public ServiceCreator(MBeanServer (src)  server)
Method Detail

install

public ObjectInstance (src)  install(ObjectName (src)  mbeanName,
                              ObjectName (src)  loaderName,
                              org.w3c.dom.Element mbeanElement)
                       throws java.lang.Exception
Parses the given configuration document and creates MBean instances in the current MBean server.

Throws:
ConfigurationException (src) - The configuration document contains invalid or missing syntax.
java.lang.Exception - Failed for some other reason.

remove

public void remove(ObjectName (src)  name)
            throws java.lang.Exception
Throws:
java.lang.Exception