org.mule.module.management.mbean
Class ConnectorService

java.lang.Object
  extended by org.mule.module.management.mbean.ConnectorService
All Implemented Interfaces:
Initialisable, ConnectorServiceMBean

public class ConnectorService
extends Object
implements ConnectorServiceMBean


Field Summary
 
Fields inherited from interface org.mule.module.management.mbean.ConnectorServiceMBean
DEFAULT_JMX_NAME_PREFIX
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
ConnectorService(Connector connector)
           
 
Method Summary
 void dispose()
           
 String getName()
           
 String getProtocol()
           
 void initialise()
           
 boolean isDisposed()
           
 boolean isStarted()
           
 void startConnector()
           
 void stopConnector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorService

public ConnectorService(Connector connector)
Method Detail

isStarted

public boolean isStarted()
Specified by:
isStarted in interface ConnectorServiceMBean

isDisposed

public boolean isDisposed()
Specified by:
isDisposed in interface ConnectorServiceMBean

getName

public String getName()
Specified by:
getName in interface ConnectorServiceMBean

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface ConnectorServiceMBean

startConnector

public void startConnector()
                    throws MuleException
Specified by:
startConnector in interface ConnectorServiceMBean
Throws:
MuleException

stopConnector

public void stopConnector()
                   throws MuleException
Specified by:
stopConnector in interface ConnectorServiceMBean
Throws:
MuleException

dispose

public void dispose()
Specified by:
dispose in interface ConnectorServiceMBean

initialise

public void initialise()
                throws InitialisationException
Specified by:
initialise in interface Initialisable
Throws:
InitialisationException


Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.