public class ConnectorService extends Object implements ConnectorServiceMBean
PHASE_NAME| Constructor and Description |
|---|
ConnectorService(Connector connector) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
ExceptionListener |
getExceptionListener() |
String |
getName() |
String |
getProtocol() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isDisposed() |
boolean |
isDisposing() |
boolean |
isStarted() |
void |
startConnector() |
void |
stopConnector() |
public ConnectorService(Connector connector)
public boolean isStarted()
isStarted in interface ConnectorServiceMBeanpublic boolean isDisposed()
isDisposed in interface ConnectorServiceMBeanpublic boolean isDisposing()
isDisposing in interface ConnectorServiceMBeanpublic String getName()
getName in interface ConnectorServiceMBeanpublic String getProtocol()
getProtocol in interface ConnectorServiceMBeanpublic ExceptionListener getExceptionListener()
getExceptionListener in interface ConnectorServiceMBeanpublic void startConnector()
throws MuleException
startConnector in interface ConnectorServiceMBeanMuleExceptionpublic void stopConnector()
throws MuleException
stopConnector in interface ConnectorServiceMBeanMuleExceptionpublic void dispose()
dispose in interface ConnectorServiceMBeanpublic void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered fromCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.