public class DefaultMuleApplication extends Object implements Application
| Modifier and Type | Field and Description |
|---|---|
protected ArtifactClassLoader |
deploymentClassLoader |
protected ApplicationDescriptor |
descriptor |
protected org.slf4j.Logger |
logger |
protected MuleContextListener |
muleContextListener |
| Constructor and Description |
|---|
DefaultMuleApplication(ApplicationDescriptor descriptor,
MuleDeployableArtifactClassLoader deploymentClassLoader,
List<ArtifactPlugin> artifactPlugins,
DomainRepository domainRepository,
ServiceRepository serviceRepository,
ExtensionModelLoaderRepository extensionModelLoaderRepository,
File location,
ClassLoaderRepository classLoaderRepository,
ApplicationPolicyProvider applicationPolicyProvider) |
protected final transient org.slf4j.Logger logger
protected final ApplicationDescriptor descriptor
protected ArtifactClassLoader deploymentClassLoader
protected MuleContextListener muleContextListener
public DefaultMuleApplication(ApplicationDescriptor descriptor, MuleDeployableArtifactClassLoader deploymentClassLoader, List<ArtifactPlugin> artifactPlugins, DomainRepository domainRepository, ServiceRepository serviceRepository, ExtensionModelLoaderRepository extensionModelLoaderRepository, File location, ClassLoaderRepository classLoaderRepository, ApplicationPolicyProvider applicationPolicyProvider)
public void setMuleContextListener(MuleContextListener muleContextListener)
setMuleContextListener in interface DeployableArtifact<ApplicationDescriptor>public void install()
install in interface DeployableArtifact<ApplicationDescriptor>public ApplicationDescriptor getDescriptor()
getDescriptor in interface DeployableArtifact<ApplicationDescriptor>getDescriptor in interface Artifact<ApplicationDescriptor>public Domain getDomain()
getDomain in interface Applicationpublic void start()
start in interface DeployableArtifact<ApplicationDescriptor>public void init()
init in interface DeployableArtifact<ApplicationDescriptor>public void lazyInit()
lazyInit in interface DeployableArtifact<ApplicationDescriptor>public void lazyInit(boolean disableXmlValidations)
lazyInit in interface DeployableArtifact<ApplicationDescriptor>protected void setArtifactContext(ArtifactContext artifactContext)
public org.mule.runtime.api.artifact.Registry getRegistry()
getRegistry in interface ApplicationgetRegistry in interface DeployableArtifact<ApplicationDescriptor>public File getLocation()
getLocation in interface DeployableArtifact<ApplicationDescriptor>public org.mule.runtime.api.connectivity.ConnectivityTestingService getConnectivityTestingService()
getConnectivityTestingService in interface DeployableArtifact<ApplicationDescriptor>public org.mule.runtime.api.metadata.MetadataService getMetadataService()
getMetadataService in interface DeployableArtifact<ApplicationDescriptor>public org.mule.runtime.api.value.ValueProviderService getValueProviderService()
getValueProviderService in interface DeployableArtifact<ApplicationDescriptor>public void dispose()
dispose in interface DeployableArtifact<ApplicationDescriptor>public String getArtifactName()
getArtifactName in interface Artifact<ApplicationDescriptor>public String getArtifactId()
getArtifactId in interface Artifact<ApplicationDescriptor>public File[] getResourceFiles()
getResourceFiles in interface Artifact<ApplicationDescriptor>public ArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface Artifact<ApplicationDescriptor>public void stop()
stop in interface DeployableArtifact<ApplicationDescriptor>public ApplicationStatus getStatus()
getStatus in interface Applicationpublic RegionClassLoader getRegionClassLoader()
getRegionClassLoader in interface RegionOwnerArtifactpublic ApplicationPolicyProvider getPolicyManager()
getPolicyManager in interface Applicationpublic List<ArtifactPlugin> getArtifactPlugins()
getArtifactPlugins in interface DeployableArtifact<ApplicationDescriptor>protected void doDispose()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.