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(Domain domain) |
File |
getArtifactDir() |
void |
setDeploymentListener(DeploymentListener deploymentListener) |
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(Domain domain)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.