User: mnf999  
  Date: 01/08/29 16:21:32

  Added:       src/main/org/jboss/system ServiceFactory.java
  Log:
  The ServiceFactory from Scott to mask services...
  
  Revision  Changes    Path
  1.1                  jboss/src/main/org/jboss/system/ServiceFactory.java
  
  Index: ServiceFactory.java
  ===================================================================
  /*
  * JBoss, the OpenSource J2EE server
  *
  * Distributable under LGPL license.
  * See terms of license at gnu.org.
  */
  package org.jboss.system;
  
  import javax.management.MBeanServer;
  import javax.management.ObjectName;
  
  /** The ServiceFactory interface is used to obtain a Service
  proxy instance for a named MBean.
  
  @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>.
  @version $Revision: 1.1 $
  */
  public interface ServiceFactory
  {
     /** Create a Service proxy instance for the MBean given by name.
     @param server, the MBeanServer instance
     @param name, the name of the MBean that wishes to be managed by
     the JBoss ServiceControl service.
     */
     public Service createService(MBeanServer server, ObjectName name);
  }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to