org.mule.module.launcher.application
Class DefaultApplicationFactory
java.lang.Object
org.mule.module.launcher.application.DefaultApplicationFactory
- All Implemented Interfaces:
- ApplicationFactory, ArtifactFactory<Application>
public class DefaultApplicationFactory
- extends Object
- implements ApplicationFactory
Creates default mule applications
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentListener
protected DeploymentListener deploymentListener
DefaultApplicationFactory
public DefaultApplicationFactory(ApplicationClassLoaderFactory applicationClassLoaderFactory,
DomainFactory domainFactory)
setDeploymentListener
public void setDeploymentListener(DeploymentListener deploymentListener)
createArtifact
public Application createArtifact(String appName)
throws IOException
- Description copied from interface:
ApplicationFactory
- Creates an application
- Specified by:
createArtifact
in interface ApplicationFactory
- Specified by:
createArtifact
in interface ArtifactFactory<Application>
- Parameters:
appName
- the name of the application to create
- Returns:
- the application instance that corresponds to the given name
- Throws:
IOException
getArtifactDir
public File getArtifactDir()
- Specified by:
getArtifactDir
in interface ArtifactFactory<Application>
- Returns:
- the directory of the Artifact. Usually this directory contains the Artifact resources
createAppFrom
protected Application createAppFrom(ApplicationDescriptor descriptor)
throws IOException
- Throws:
IOException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.