public interface ToolingRuntimeClientBootstrapConfiguration
ToolingRuntimeClientBootstrap.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ToolingRuntimeClientBootstrapConfiguration.ToolingRuntimeClientBootstrapConfigurationBuilder
Builder for
ToolingRuntimeClientBootstrapConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ToolingRuntimeClientBootstrapConfiguration.ToolingRuntimeClientBootstrapConfigurationBuilder |
builder() |
Optional<ExecutorServiceConfiguration> |
executorServiceConfiguration() |
Optional<URI> |
log4jConfiguration()
ToolingRuntimeClient runs in an isolated class loader and uses log4j as the
logger implementation for slf4j. |
org.mule.maven.client.api.model.MavenConfiguration |
mavenConfiguration() |
String |
muleVersion() |
String |
toolingVersion() |
File |
workingFolder() |
String muleVersion()
String toolingVersion()
org.mule.maven.client.api.model.MavenConfiguration mavenConfiguration()
MavenConfiguration to be used by the ToolingRuntimeClientBootstrapFactory to
resolve the ToolingRuntimeClient implementation version for
specified muleVersion().Optional<URI> log4jConfiguration()
ToolingRuntimeClient runs in an isolated class loader and uses log4j as the
logger implementation for slf4j. This configuration will be the one used by log4j during the execution of
ToolingRuntimeClient code.Optional configuration for log4j. If no one is provided logger will be redirected to System.out.Optional<ExecutorServiceConfiguration> executorServiceConfiguration()
ExecutorServiceConfiguration to be used by ToolingRuntimeClient in order to
configure a to submit Callable tasks to the implementation ClassLoader.
Triggering task on a different thread will prevent class loader leaks and also allows ToolingRuntimeClient to support
time out on operations.File workingFolder()
File to store data needed by Tooling Bootstrap. Should not be shared amount different instances of Bootstraps.
Once the Tooling Bootstrap is disposed the folder would be deleted.
It is recommended to avoid using temporary folders as these folders could be deleted when the OS is suspended, which could generatestatic ToolingRuntimeClientBootstrapConfiguration.ToolingRuntimeClientBootstrapConfigurationBuilder builder()
Copyright © 2019 MuleSoft, Inc.. All rights reserved.