KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > management > mbeans > ConnectorServiceMBean


1 /*
2  * $Id: ConnectorServiceMBean.java 3798 2006-11-04 04:07:14Z aperepel $
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 MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.management.mbeans;
12
13 import java.beans.ExceptionListener JavaDoc;
14
15 import org.mule.umo.UMOException;
16 import org.mule.umo.lifecycle.InitialisationException;
17 import org.mule.umo.lifecycle.RecoverableException;
18 import org.mule.umo.provider.UMOMessageDispatcherFactory;
19
20 /**
21  * @author <a HREF="mailto:aperepel@gmail.com">Andrew Perepelytsya</a> $Id:
22  * ConnectorServiceMBean.java 3167 2006-09-22 15:47:04Z holger $
23  */

24 public interface ConnectorServiceMBean
25 {
26
27     boolean isStarted();
28
29     boolean isDisposed();
30
31     boolean isDisposing();
32
33     String JavaDoc getName();
34
35     String JavaDoc getProtocol();
36
37     ExceptionListener JavaDoc getExceptionListener();
38
39     UMOMessageDispatcherFactory getDispatcherFactory();
40
41     void startConnector() throws UMOException;
42
43     void stopConnector() throws UMOException;
44
45     void dispose();
46
47     void initialise() throws InitialisationException, RecoverableException;
48 }
49
Popular Tags