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