org.mule.module.launcher.domain
Class DefaultDomainFactory
java.lang.Object
org.mule.module.launcher.domain.DefaultDomainFactory
- All Implemented Interfaces:
- ArtifactFactory<Domain>, DomainFactory
public class DefaultDomainFactory
- extends Object
- implements DomainFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentListener
protected DeploymentListener deploymentListener
DefaultDomainFactory
public DefaultDomainFactory(DomainClassLoaderRepository domainClassLoaderRepository)
setDeploymentListener
public void setDeploymentListener(DeploymentListener deploymentListener)
createDefaultDomain
public Domain createDefaultDomain()
throws IOException
- Specified by:
createDefaultDomain
in interface DomainFactory
- Throws:
IOException
createArtifact
public Domain createArtifact(String artifactName)
throws IOException
- Description copied from interface:
ArtifactFactory
- Creates an Artifact
- Specified by:
createArtifact
in interface ArtifactFactory<Domain>
- Parameters:
artifactName
- artifact identifier
- Returns:
- the newly created Artifact
- Throws:
IOException
getArtifactDir
public File getArtifactDir()
- Specified by:
getArtifactDir
in interface ArtifactFactory<Domain>
- Returns:
- the directory of the Artifact. Usually this directory contains the Artifact resources
dispose
public void dispose(Domain domain)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.