public class DefaultDomainFactory extends Object implements DomainFactory
Modifier and Type | Field and Description |
---|---|
protected DeploymentListener |
deploymentListener |
DEFAULT_DOMAIN_NAME
Constructor and Description |
---|
DefaultDomainFactory(DomainClassLoaderRepository domainClassLoaderRepository) |
Modifier and Type | Method and Description |
---|---|
Domain |
createArtifact(String artifactName)
Creates an Artifact
|
Domain |
createDefaultDomain() |
void |
dispose(DomainWrapper domain) |
File |
getArtifactDir() |
void |
setDeploymentListener(DeploymentListener deploymentListener) |
void |
start(DomainWrapper domainWrapper) |
protected DeploymentListener deploymentListener
public DefaultDomainFactory(DomainClassLoaderRepository domainClassLoaderRepository)
public void setDeploymentListener(DeploymentListener deploymentListener)
public Domain createDefaultDomain() throws IOException
createDefaultDomain
in interface DomainFactory
IOException
public Domain createArtifact(String artifactName) throws IOException
ArtifactFactory
createArtifact
in interface ArtifactFactory<Domain>
artifactName
- artifact identifierIOException
public File getArtifactDir()
getArtifactDir
in interface ArtifactFactory<Domain>
public void dispose(DomainWrapper domain)
public void start(DomainWrapper domainWrapper)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.