private final DeploymentDirectoryWatcher deploymentDirectoryWatcher;
private DefaultArchiveDeployer<Application> applicationDeployer;
public MuleDeploymentService(PluginClassLoaderManager pluginClassLoaderManager)
{
DomainClassLoaderRepository domainClassLoaderRepository = new MuleDomainClassLoaderRepository();
ApplicationClassLoaderFactory applicationClassLoaderFactory = new MuleApplicationClassLoaderFactory(domainClassLoaderRepository, new DefaultNativeLibraryFinderFactory());
applicationClassLoaderFactory = new CompositeApplicationClassLoaderFactory(applicationClassLoaderFactory, pluginClassLoaderManager);
DefaultDomainFactory domainFactory = new DefaultDomainFactory(domainClassLoaderRepository);