01: /*
02: * $Id: ConnectorServiceMBean.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: import org.mule.api.MuleException;
14: import org.mule.api.lifecycle.Initialisable;
15:
16: import java.beans.ExceptionListener;
17:
18: public interface ConnectorServiceMBean extends Initialisable {
19:
20: boolean isStarted();
21:
22: boolean isDisposed();
23:
24: boolean isDisposing();
25:
26: String getName();
27:
28: String getProtocol();
29:
30: ExceptionListener getExceptionListener();
31:
32: void startConnector() throws MuleException;
33:
34: void stopConnector() throws MuleException;
35:
36: void dispose();
37:
38: }
|