01: /*
02: * $Id: ModelServiceMBean.java 11234 2008-03-06 23:44:34Z tcarlson $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
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: void start() throws MuleException;
21:
22: void stop() throws MuleException;
23:
24: // boolean isComponentRegistered(String name);
25: //
26: // UMODescriptor getComponentDescriptor(String name);
27: //
28: // void startComponent(String name) throws MuleException;
29: //
30: // void stopComponent(String name) throws MuleException;
31: //
32: // void pauseComponent(String name) throws MuleException;
33: //
34: // void resumeComponent(String name) throws MuleException;
35: //
36: // void unregisterComponent(String name) throws MuleException;
37:
38: String getName();
39:
40: String getType();
41: }
|