org.mule.module.launcher.coreextension
Class DefaultMuleCoreExtensionManager

java.lang.Object
  extended by org.mule.module.launcher.coreextension.DefaultMuleCoreExtensionManager
All Implemented Interfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable, MuleCoreExtensionManager, DeploymentServiceAware, PluginClassLoaderManagerAware

public class DefaultMuleCoreExtensionManager
extends Object
implements MuleCoreExtensionManager


Field Summary
protected static Log logger
           
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
DefaultMuleCoreExtensionManager()
           
DefaultMuleCoreExtensionManager(MuleCoreExtensionDiscoverer coreExtensionDiscoverer, MuleCoreExtensionDependencyResolver coreExtensionDependencyResolver)
           
 
Method Summary
 void dispose()
          A lifecycle method where implementor should free up any resources.
 void initialise()
          Method used to perform any initialisation work.
 void setDeploymentService(DeploymentService deploymentService)
           
 void setPluginClassLoaderManager(PluginClassLoaderManager pluginClassLoaderManager)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
Constructor Detail

DefaultMuleCoreExtensionManager

public DefaultMuleCoreExtensionManager()

DefaultMuleCoreExtensionManager

public DefaultMuleCoreExtensionManager(MuleCoreExtensionDiscoverer coreExtensionDiscoverer,
                                       MuleCoreExtensionDependencyResolver coreExtensionDependencyResolver)
Method Detail

dispose

public void dispose()
Description copied from interface: Disposable
A lifecycle method where implementor should free up any resources. If an exception is thrown it should just be logged and processing should continue. This method should not throw Runtime exceptions.

Specified by:
dispose in interface Disposable

initialise

public void initialise()
                throws InitialisationException
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException 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.

Specified by:
initialise in interface Initialisable
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from

start

public void start()
           throws MuleException
Specified by:
start in interface Startable
Throws:
MuleException

stop

public void stop()
          throws MuleException
Specified by:
stop in interface Stoppable
Throws:
MuleException

setDeploymentService

public void setDeploymentService(DeploymentService deploymentService)
Specified by:
setDeploymentService in interface DeploymentServiceAware

setPluginClassLoaderManager

public void setPluginClassLoaderManager(PluginClassLoaderManager pluginClassLoaderManager)
Specified by:
setPluginClassLoaderManager in interface PluginClassLoaderManagerAware


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