org.jboss.system
Interface ServiceFactory


public interface ServiceFactory

The ServiceFactory interface is used to obtain a Service proxy instance for a named MBean.


Method Summary
 Service (src) createService(MBeanServer (src)  server, ObjectName (src)  name)
          Create a Service proxy instance for the MBean given by name.
 

Method Detail

createService

public Service (src)  createService(MBeanServer (src)  server,
                             ObjectName (src)  name)
Create a Service proxy instance for the MBean given by name.

Parameters:
server - The MBeanServer instance
name - The name of the MBean that wishes to be managed by the JBoss ServiceControl service.