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: 1.1.26.1 $
Author:
Scott Stark.

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

Method Detail

createService

Service createService(javax.management.MBeanServer server,
                      javax.management.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 © 2002 JBoss Group, LLC. All Rights Reserved.