01: /*
02: * $Id: EndpointServiceMBean.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: /**
14: * The EndpointServiceMBean allows you to check the confiugration of an endpoint and
15: * conect/disconnect endpoints manually.
16: */
17: public interface EndpointServiceMBean {
18:
19: String getAddress();
20:
21: String getName();
22:
23: boolean isConnected();
24:
25: void connect() throws Exception;
26:
27: void disconnect() throws Exception;
28:
29: boolean isInbound();
30:
31: boolean isOutbound();
32:
33: boolean isSynchronous();
34:
35: String getComponentName();
36: }
|