View Javadoc

1   /*
2    * $Id: ModelServiceMBean.java 11234 2008-03-06 23:44:34Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.module.management.mbean;
12  
13  import org.mule.api.MuleException;
14  
15  /**
16   * <code>ModelServiceMBean</code> JMX Service interface for the Model.
17   */
18  public interface ModelServiceMBean
19  {
20  
21      void start() throws MuleException;
22  
23      void stop() throws MuleException;
24  
25  //    boolean isComponentRegistered(String name);
26  //
27  //    UMODescriptor getComponentDescriptor(String name);
28  //
29  //    void startComponent(String name) throws MuleException;
30  //
31  //    void stopComponent(String name) throws MuleException;
32  //
33  //    void pauseComponent(String name) throws MuleException;
34  //
35  //    void resumeComponent(String name) throws MuleException;
36  //
37  //    void unregisterComponent(String name) throws MuleException;
38  
39      String getName();
40  
41      String getType();
42  }