public class DefaultApplicationFactory extends AbstractDeployableArtifactFactory<Application> implements ArtifactFactory<Application>
| Constructor and Description |
|---|
DefaultApplicationFactory(ApplicationClassLoaderBuilderFactory applicationClassLoaderBuilderFactory,
ApplicationDescriptorFactory applicationDescriptorFactory,
DomainRepository domainRepository,
ServiceRepository serviceRepository,
ExtensionModelLoaderRepository extensionModelLoaderRepository,
ClassLoaderRepository classLoaderRepository,
PolicyTemplateClassLoaderBuilderFactory policyTemplateClassLoaderBuilderFactory,
PluginDependenciesResolver pluginDependenciesResolver,
ArtifactPluginDescriptorLoader artifactPluginDescriptorLoader,
LicenseValidator licenseValidator) |
| Modifier and Type | Method and Description |
|---|---|
Application |
createArtifact(ApplicationDescriptor descriptor) |
protected Application |
doCreateArtifact(File artifactDir)
Creates an instance of
DeployableArtifact |
File |
getArtifactDir() |
createArtifactclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateArtifactpublic DefaultApplicationFactory(ApplicationClassLoaderBuilderFactory applicationClassLoaderBuilderFactory, ApplicationDescriptorFactory applicationDescriptorFactory, DomainRepository domainRepository, ServiceRepository serviceRepository, ExtensionModelLoaderRepository extensionModelLoaderRepository, ClassLoaderRepository classLoaderRepository, PolicyTemplateClassLoaderBuilderFactory policyTemplateClassLoaderBuilderFactory, PluginDependenciesResolver pluginDependenciesResolver, ArtifactPluginDescriptorLoader artifactPluginDescriptorLoader, LicenseValidator licenseValidator)
protected Application doCreateArtifact(File artifactDir) throws IOException
AbstractDeployableArtifactFactoryDeployableArtifactdoCreateArtifact in class AbstractDeployableArtifactFactory<Application>artifactDir - the artifact deployment directory.IOException - if there was a problem reading the content of the artifact.public File getArtifactDir()
getArtifactDir in interface ArtifactFactory<Application>public Application createArtifact(ApplicationDescriptor descriptor) throws IOException
IOExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.