org.mule.context
Class DefaultMuleContextBuilder

java.lang.Object
  extended by org.mule.context.DefaultMuleContextBuilder
All Implemented Interfaces:
MuleContextBuilder

public class DefaultMuleContextBuilder
extends Object
implements MuleContextBuilder

Implementation of MuleContextBuilder that uses DefaultMuleContext as the default MuleContext implementation and builds it with defaults values for MuleConfiguration, LifecycleManager, WorkManager and ServerNotificationManager.


Field Summary
protected  LifecycleManager lifecycleManager
           
protected static Log logger
           
protected  MuleConfiguration muleConfiguration
           
protected  ServerNotificationManager notificationManager
           
protected  WorkManager workManager
           
 
Constructor Summary
DefaultMuleContextBuilder()
           
 
Method Summary
 MuleContext buildMuleContext()
          Builds a new MuleContext instance using configured builder instance.
protected  LifecycleManager getLifecycleManager()
           
protected  MuleConfiguration getMuleConfiguration()
           
protected  ServerNotificationManager getNotificationManager()
           
protected  WorkManager getWorkManager()
           
 DefaultMuleContextBuilder setLifecycleManager(LifecycleManager lifecycleManager)
           
 DefaultMuleContextBuilder setMuleConfiguration(MuleConfiguration muleConfiguration)
           
 DefaultMuleContextBuilder setNotificationManager(ServerNotificationManager notificationManager)
           
 DefaultMuleContextBuilder setWorkManager(WorkManager workManager)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static final Log logger

muleConfiguration

protected MuleConfiguration muleConfiguration

lifecycleManager

protected LifecycleManager lifecycleManager

workManager

protected WorkManager workManager

notificationManager

protected ServerNotificationManager notificationManager
Constructor Detail

DefaultMuleContextBuilder

public DefaultMuleContextBuilder()
Method Detail

buildMuleContext

public MuleContext buildMuleContext()
Builds a new MuleContext instance using configured builder instance. Does not initialise or start MuleContext, only constructs the instance.

Specified by:
buildMuleContext in interface MuleContextBuilder
Returns:

setMuleConfiguration

public DefaultMuleContextBuilder setMuleConfiguration(MuleConfiguration muleConfiguration)

setWorkManager

public DefaultMuleContextBuilder setWorkManager(WorkManager workManager)

setNotificationManager

public DefaultMuleContextBuilder setNotificationManager(ServerNotificationManager notificationManager)

setLifecycleManager

public DefaultMuleContextBuilder setLifecycleManager(LifecycleManager lifecycleManager)

getMuleConfiguration

protected MuleConfiguration getMuleConfiguration()

getLifecycleManager

protected LifecycleManager getLifecycleManager()

getWorkManager

protected WorkManager getWorkManager()

getNotificationManager

protected ServerNotificationManager getNotificationManager()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.