View Javadoc

1   /*
2    * $Id: EndpointServiceMBean.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.MessageExchangePattern;
14  
15  /**
16   * The EndpointServiceMBean allows you to check the confiugration of an endpoint and
17   * conect/disconnect endpoints manually.
18   */
19  public interface EndpointServiceMBean
20  {
21      String getAddress();
22  
23      String getName();
24  
25      boolean isConnected();
26  
27      void connect() throws Exception;
28  
29      void disconnect() throws Exception;
30  
31      boolean isInbound();
32  
33      boolean isOutbound();
34  
35      MessageExchangePattern getMessageExchangePattern();
36  
37      String getComponentName();
38  }