1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.module.management.mbean; |
8 | |
|
9 | |
import org.mule.api.MuleException; |
10 | |
import org.mule.api.lifecycle.Initialisable; |
11 | |
|
12 | |
public interface ConnectorServiceMBean extends Initialisable |
13 | |
{ |
14 | |
String DEFAULT_JMX_NAME_PREFIX = "type=Connector,name="; |
15 | |
|
16 | |
boolean isStarted(); |
17 | |
|
18 | |
boolean isDisposed(); |
19 | |
|
20 | |
String getName(); |
21 | |
|
22 | |
String getProtocol(); |
23 | |
|
24 | |
void startConnector() throws MuleException; |
25 | |
|
26 | |
void stopConnector() throws MuleException; |
27 | |
|
28 | |
void dispose(); |
29 | |
|
30 | |
|
31 | |
} |