org.jboss.system
Interface ServiceFactory


public interface ServiceFactory

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

Version:
$Revision: 81033 $
Author:
Scott Stark.

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

Method Detail

createService

Service createService(MBeanServer server,
                      ObjectName 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.


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