org.mule.module.launcher.domain
Class DefaultDomainFactory

java.lang.Object
  extended by org.mule.module.launcher.domain.DefaultDomainFactory
All Implemented Interfaces:
ArtifactFactory<Domain>, DomainFactory

public class DefaultDomainFactory
extends Object
implements DomainFactory


Field Summary
protected  DeploymentListener deploymentListener
           
 
Fields inherited from interface org.mule.module.launcher.domain.DomainFactory
DEFAULT_DOMAIN_NAME
 
Constructor Summary
DefaultDomainFactory(DomainClassLoaderRepository domainClassLoaderRepository)
           
 
Method Summary
 Domain createArtifact(String artifactName)
          Creates an Artifact
 Domain createDefaultDomain()
           
 void dispose(Domain domain)
           
 File getArtifactDir()
           
 void setDeploymentListener(DeploymentListener deploymentListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentListener

protected DeploymentListener deploymentListener
Constructor Detail

DefaultDomainFactory

public DefaultDomainFactory(DomainClassLoaderRepository domainClassLoaderRepository)
Method Detail

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.