Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ConnectorServiceMBean |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: ConnectorServiceMBean.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 | import org.mule.api.lifecycle.Initialisable; | |
15 | ||
16 | import java.beans.ExceptionListener; | |
17 | ||
18 | public interface ConnectorServiceMBean extends Initialisable | |
19 | { | |
20 | ||
21 | boolean isStarted(); | |
22 | ||
23 | boolean isDisposed(); | |
24 | ||
25 | boolean isDisposing(); | |
26 | ||
27 | String getName(); | |
28 | ||
29 | String getProtocol(); | |
30 | ||
31 | ExceptionListener getExceptionListener(); | |
32 | ||
33 | void startConnector() throws MuleException; | |
34 | ||
35 | void stopConnector() throws MuleException; | |
36 | ||
37 | void dispose(); | |
38 | ||
39 | ||
40 | } |