public class DefaultApplicationFactory extends Object implements ApplicationFactory
Modifier and Type | Field and Description |
---|---|
protected DeploymentListener |
deploymentListener |
Constructor and Description |
---|
DefaultApplicationFactory(ApplicationClassLoaderFactory applicationClassLoaderFactory,
DomainFactory domainFactory) |
Modifier and Type | Method and Description |
---|---|
protected Application |
createAppFrom(ApplicationDescriptor descriptor) |
Application |
createArtifact(String appName)
Creates an application
|
File |
getArtifactDir() |
void |
setDeploymentListener(DeploymentListener deploymentListener) |
protected DeploymentListener deploymentListener
public DefaultApplicationFactory(ApplicationClassLoaderFactory applicationClassLoaderFactory, DomainFactory domainFactory)
public void setDeploymentListener(DeploymentListener deploymentListener)
public Application createArtifact(String appName) throws IOException
ApplicationFactory
createArtifact
in interface ApplicationFactory
createArtifact
in interface ArtifactFactory<Application>
appName
- the name of the application to createIOException
public File getArtifactDir()
getArtifactDir
in interface ArtifactFactory<Application>
protected Application createAppFrom(ApplicationDescriptor descriptor) throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.