Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EndpointServiceMBean |
|
| 1.0;1 |
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.MessageExchangePattern; | |
10 | ||
11 | /** | |
12 | * The EndpointServiceMBean allows you to check the confiugration of an endpoint and | |
13 | * conect/disconnect endpoints manually. | |
14 | */ | |
15 | public interface EndpointServiceMBean | |
16 | { | |
17 | String getAddress(); | |
18 | ||
19 | String getName(); | |
20 | ||
21 | boolean isConnected(); | |
22 | ||
23 | void connect() throws Exception; | |
24 | ||
25 | void disconnect() throws Exception; | |
26 | ||
27 | boolean isInbound(); | |
28 | ||
29 | boolean isOutbound(); | |
30 | ||
31 | MessageExchangePattern getMessageExchangePattern(); | |
32 | ||
33 | String getComponentName(); | |
34 | } |