public class DefaultApplicationService extends Object implements ApplicationService
ApplicationService.| Constructor and Description |
|---|
DefaultApplicationService(MuleArtifactResourcesRegistry muleArtifactResourcesRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader |
createApplicationClassLoader(String applicationName,
File applicationLocation,
File workingDirectory)
Creates an
ArtifactClassLoader from the given application location, could be the jar file or the exploded directory. |
public DefaultApplicationService(MuleArtifactResourcesRegistry muleArtifactResourcesRegistry)
public org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader createApplicationClassLoader(String applicationName, File applicationLocation, File workingDirectory) throws IOException
ApplicationServiceArtifactClassLoader from the given application location, could be the jar file or the exploded directory.createApplicationClassLoader in interface ApplicationServiceapplicationName - name for the application.applicationLocation - location of the application as jar or exploded.workingDirectory - to be used by deployment to write or copy files.ArtifactClassLoader for the given application.IOException - if there was an error while creating the ArtifactClassLoaderCopyright © 2017 MuleSoft, Inc.. All rights reserved.