| Package | Description |
|---|---|
| org.mule.runtime.module.deployment.impl.internal.artifact | |
| org.mule.runtime.module.deployment.impl.internal.domain |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactContextBuilder |
ArtifactContextBuilder.newBuilder() |
static ArtifactContextBuilder |
ArtifactContextBuilder.newBuilder(ConfigurationBuilder... additionalBuilders) |
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactDeclaration(org.mule.runtime.app.declaration.api.ArtifactDeclaration artifactDeclaration) |
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactInstallationDirectory(File location)
Sets the file location where the artifact is installed.
|
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactName(String artifactName)
Sets a meaningful name to identify the artifact.
|
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactPlugins(List<ArtifactPlugin> artifactPlugins)
Provides a list of
ArtifactPlugin that describe all the extensions that need to be accessible by the
MuleContext to be created. |
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactProperties(Map<String,String> artifactProperties)
The artifact properties define key value pairs that can be referenced from within the configuration files.
|
ArtifactContextBuilder |
ArtifactContextBuilder.setArtifactType(ArtifactType artifactType)
The
ArtifactType defines the set of services that will be available in the MuleContext. |
ArtifactContextBuilder |
ArtifactContextBuilder.setClassLoaderRepository(ClassLoaderRepository classLoaderRepository)
Provides a
ClassLoaderRepository containing all registered class loaders on the container. |
ArtifactContextBuilder |
ArtifactContextBuilder.setConfigurationFiles(String... configurationFiles) |
ArtifactContextBuilder |
ArtifactContextBuilder.setDataFolderName(String folderName) |
ArtifactContextBuilder |
ArtifactContextBuilder.setDefaultEncoding(String defaultEncoding)
Sets the default encoding for the
MuleContext if the use did not define one explicitly within the configuration. |
ArtifactContextBuilder |
ArtifactContextBuilder.setDisableXmlValidations(boolean disableXmlValidations)
Allows to create an
ArtifactContext that will not check for XSD validations. |
ArtifactContextBuilder |
ArtifactContextBuilder.setEnableLazyInit(boolean enableLazyInit)
Allows to lazily create the artifact resources.
|
ArtifactContextBuilder |
ArtifactContextBuilder.setExecutionClassloader(ClassLoader classloader)
Sets the classloader that must be used to execute all
MuleContext tasks such as running flows, doing connection
retries, etc. |
ArtifactContextBuilder |
ArtifactContextBuilder.setExtensionManagerFactory(ExtensionManagerFactory extensionManagerFactory) |
ArtifactContextBuilder |
ArtifactContextBuilder.setExtensionModelLoaderRepository(ExtensionModelLoaderRepository extensionModelLoaderRepository)
Sets a
ExtensionModelLoaderRepository that allows to retrieve the available extension loaders. |
ArtifactContextBuilder |
ArtifactContextBuilder.setMuleContextListener(MuleContextListener muleContextListener)
Allows to set a listener that will be notified when the
MuleContext is created, initialized or configured. |
ArtifactContextBuilder |
ArtifactContextBuilder.setParentArtifact(DeployableArtifact<?> parentArtifact)
Allows to define a parent artifact which resources will be available to the context to be created.
|
ArtifactContextBuilder |
ArtifactContextBuilder.setPolicyProvider(PolicyProvider policyProvider) |
ArtifactContextBuilder |
ArtifactContextBuilder.setProperties(Optional<Properties> properties) |
ArtifactContextBuilder |
ArtifactContextBuilder.setRuntimeLockFactory(org.mule.runtime.api.lock.LockFactory runtimeLockFactory) |
ArtifactContextBuilder |
ArtifactContextBuilder.setServiceRepository(org.mule.runtime.api.service.ServiceRepository serviceRepository)
Provides a
ServiceRepository containing all the services that will be accessible from the MuleContext to be
created. |
ArtifactContextBuilder |
ArtifactContextBuilder.withServiceConfigurator(org.mule.runtime.api.config.custom.ServiceConfigurator serviceConfigurator)
Adds a service configurator to configure the created context.
|
| Modifier and Type | Method and Description |
|---|---|
protected ArtifactContextBuilder |
DefaultMuleDomain.getArtifactContextBuilder()
Method created for testing purposes.
|
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.