public class DefaultApplication extends AbstractArtifact<org.mule.runtime.deployment.model.api.application.ApplicationDescriptor> implements Application
RemoteApplicationInvoker.ApplicationRemoteFunction<R>artifactDeployer, artifactDescriptor, artifactResources, context, deployed, deploymentLock, noFailureConfigurationProperties, remoteArtifactId, runtimeToolingService| Constructor and Description |
|---|
DefaultApplication(String id,
ArtifactResources artifactResources,
org.mule.runtime.deployment.model.api.application.ApplicationDescriptor applicationDescriptor,
Domain domain,
ToolingArtifactContext context,
Map<String,String> properties,
boolean shouldDisposeDomain) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
evaluateWithRemoteApplication(RemoteApplicationInvoker.ApplicationRemoteFunction<R> function)
Evaluates the given function in the context of a remote application from Mule Runtime.
|
protected List<org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader> |
getArtifactPluginClassLoaders() |
org.mule.runtime.deployment.model.api.application.ApplicationDescriptor |
getDescriptor() |
Optional<Domain> |
getDomain() |
List<org.mule.runtime.deployment.model.api.plugin.ArtifactPluginDescriptor> |
getEffectivePlugins() |
protected org.mule.runtime.api.util.LazyValue<ToolingApplicationModel> |
newToolingApplicationModelLazyValue() |
protected org.mule.runtime.api.util.LazyValue<org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader> |
newToolingArtifactClassLoaderLazyValue() |
boolean |
shouldDisposeDomain() |
checkState, dispose, disposeRemoteArtifactContext, getApplicationModel, getArtifactClassLoader, getArtifactName, getArtifactType, getArtifactUrlContent, getExtensionModels, getId, getMinMuleVersion, getProperties, getRootArtifactFolder, setContext, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplicationModel, getArtifactClassLoader, getArtifactName, getArtifactType, getArtifactUrlContent, getExtensionModels, getId, getMinMuleVersion, getProperties, getRootArtifactFolder, setContextpublic DefaultApplication(String id, ArtifactResources artifactResources, org.mule.runtime.deployment.model.api.application.ApplicationDescriptor applicationDescriptor, Domain domain, ToolingArtifactContext context, Map<String,String> properties, boolean shouldDisposeDomain)
public List<org.mule.runtime.deployment.model.api.plugin.ArtifactPluginDescriptor> getEffectivePlugins()
getEffectivePlugins in class AbstractArtifact<org.mule.runtime.deployment.model.api.application.ApplicationDescriptor>public boolean shouldDisposeDomain()
shouldDisposeDomain in interface Applicationtrue if whenever this application is disposed the domain associated to it should be disposed.public Optional<Domain> getDomain()
getDomain in interface Applicationpublic org.mule.runtime.deployment.model.api.application.ApplicationDescriptor getDescriptor()
getDescriptor in interface ApplicationApplicationDescriptor for this artifact artifact.protected List<org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader> getArtifactPluginClassLoaders()
getArtifactPluginClassLoaders in class AbstractArtifact<org.mule.runtime.deployment.model.api.application.ApplicationDescriptor>public <R> R evaluateWithRemoteApplication(RemoteApplicationInvoker.ApplicationRemoteFunction<R> function)
RemoteApplicationInvokerNoSuchApplicationException
it will do a deploy and invoke the function.evaluateWithRemoteApplication in interface RemoteApplicationInvokerR - the type for the result of the function.function - to be executed against a deployed application.<R>protected org.mule.runtime.api.util.LazyValue<org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader> newToolingArtifactClassLoaderLazyValue()
newToolingArtifactClassLoaderLazyValue in class AbstractArtifact<org.mule.runtime.deployment.model.api.application.ApplicationDescriptor>protected org.mule.runtime.api.util.LazyValue<ToolingApplicationModel> newToolingApplicationModelLazyValue()
newToolingApplicationModelLazyValue in class AbstractArtifact<org.mule.runtime.deployment.model.api.application.ApplicationDescriptor>Copyright © 2022 MuleSoft, Inc.. All rights reserved.