public class DefaultMuleContextBuilder extends Object implements MuleContextBuilder
MuleContextBuilder
that uses DefaultMuleContext
as the default MuleContext
implementation and builds it with defaults
values for MuleConfiguration
, LifecycleManager
, WorkManager
,
WorkListener
and ServerNotificationManager
.Modifier and Type | Field and Description |
---|---|
protected MuleConfiguration |
config |
protected LifecycleManager |
lifecycleManager |
protected static org.apache.commons.logging.Log |
logger |
protected ServerNotificationManager |
notificationManager |
protected javax.resource.spi.work.WorkListener |
workListener |
protected WorkManager |
workManager |
Constructor and Description |
---|
DefaultMuleContextBuilder() |
Modifier and Type | Method and Description |
---|---|
MuleContext |
buildMuleContext()
Builds a new
MuleContext instance using configured builder instance. |
protected LifecycleManager |
getLifecycleManager() |
protected MuleConfiguration |
getMuleConfiguration() |
protected ServerNotificationManager |
getNotificationManager() |
protected javax.resource.spi.work.WorkListener |
getWorkListener() |
protected WorkManager |
getWorkManager() |
void |
setLifecycleManager(LifecycleManager lifecycleManager) |
void |
setMuleConfiguration(MuleConfiguration config) |
void |
setNotificationManager(ServerNotificationManager notificationManager) |
void |
setWorkListener(javax.resource.spi.work.WorkListener workListener) |
void |
setWorkManager(WorkManager workManager) |
String |
toString() |
protected static final org.apache.commons.logging.Log logger
protected MuleConfiguration config
protected LifecycleManager lifecycleManager
protected WorkManager workManager
protected javax.resource.spi.work.WorkListener workListener
protected ServerNotificationManager notificationManager
public MuleContext buildMuleContext()
MuleContext
instance using configured builder instance.
Does not initialise or start MuleContext, only constructs the instance.buildMuleContext
in interface MuleContextBuilder
public void setMuleConfiguration(MuleConfiguration config)
setMuleConfiguration
in interface MuleContextBuilder
public void setWorkManager(WorkManager workManager)
setWorkManager
in interface MuleContextBuilder
public void setWorkListener(javax.resource.spi.work.WorkListener workListener)
setWorkListener
in interface MuleContextBuilder
public void setNotificationManager(ServerNotificationManager notificationManager)
setNotificationManager
in interface MuleContextBuilder
public void setLifecycleManager(LifecycleManager lifecycleManager)
setLifecycleManager
in interface MuleContextBuilder
protected MuleConfiguration getMuleConfiguration()
protected LifecycleManager getLifecycleManager()
protected WorkManager getWorkManager()
protected javax.resource.spi.work.WorkListener getWorkListener()
protected ServerNotificationManager getNotificationManager()
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.