builders.add(cfgBuilder);
DefaultMuleContextFactory muleContextFactory = new DefaultMuleContextFactory();
if (deploymentListener != null)
{
muleContextFactory.addListener(new MuleContextDeploymentListener(getArtifactName(), deploymentListener));
}
ApplicationMuleContextBuilder applicationContextBuilder = new ApplicationMuleContextBuilder(descriptor);
setMuleContext(muleContextFactory.createMuleContext(builders, applicationContextBuilder));
}