@NoImplement
public interface ToolingService
extends org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Stoppable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOYMENT_DOMAIN_NAME_REF |
| Modifier and Type | Method and Description |
|---|---|
default org.mule.runtime.deployment.model.api.application.Application |
createApplication(byte[] appContent)
Creates an application but from the content byte[], see
createApplication(File) for more details. |
default org.mule.runtime.deployment.model.api.application.Application |
createApplication(byte[] appContent,
Optional<Properties> deploymentProperties)
Creates an application but from the content byte[], see
createApplication(File, Optional) for more details. |
org.mule.runtime.deployment.model.api.application.Application |
createApplication(File applicationLocation)
Creates an
Application from a set of resources. |
default org.mule.runtime.deployment.model.api.application.Application |
createApplication(File applicationLocation,
Optional<Properties> deploymentProperties)
Creates an
Application from a set of resources. |
default org.mule.runtime.deployment.model.api.domain.Domain |
createDomain(byte[] domainContent)
Creates a domain but from the content byte[], see
createDomain(File) for more details. |
default org.mule.runtime.deployment.model.api.domain.Domain |
createDomain(File domainLocation)
Creates a
Domain from a set of resources. |
default void |
initialise() |
ConnectivityTestingServiceBuilder |
newConnectivityTestingServiceBuilder()
Provides a service to create a connectivity testing service using a builder which can be used to configured resources of a
dynamically created artifact
|
default void |
stop() |
static final String DEPLOYMENT_DOMAIN_NAME_REF
ConnectivityTestingServiceBuilder newConnectivityTestingServiceBuilder()
ConnectivityTestingServiceorg.mule.runtime.deployment.model.api.application.Application createApplication(File applicationLocation) throws IOException
Application from a set of resources.
The created application will be created lazily meaning that the application resources
will be created based on the different request made to the application.
Only requested components will be executed. All sources for flows will be stop unless
they are requested to be started by the client.
If a domain dependency is defined for the application it will be deployed. Both domain and application
will be deployed using a random unique identifier allowing to get multiple deployments of both application and domain. Be
aware that resources (ports, file system, etc) are shared so in those cases where resources are needed by the application or domain a deployment
exception could happen.
The application will be deployed using MuleDeploymentProperties.MULE_MUTE_APP_LOGS_DEPLOYMENT_PROPERTY
so the application logs are muted.applicationLocation - location of the application content. The application content
may be a folder holding an exploded structure for an application
or may be a zip file containing the resources of the application.IOExceptiondefault org.mule.runtime.deployment.model.api.application.Application createApplication(File applicationLocation, Optional<Properties> deploymentProperties) throws IOException
Application from a set of resources.
The created application will be created lazily meaning that the application resources
will be created based on the different request made to the application.
Only requested components will be executed. All sources for flows will be stop unless
they are requested to be started by the client.
If a domain dependency is defined for the application it will be deployed. Both domain and application
will be deployed using a random unique identifier allowing to get multiple deployments of both application and domain. Be
aware that resources (ports, file system, etc) are shared so in those cases where resources are needed by the application or domain a deployment
exception could happen.
The application will be deployed using MuleDeploymentProperties.MULE_MUTE_APP_LOGS_DEPLOYMENT_PROPERTY
so the application logs are muted.applicationLocation - location of the application content. The application content
may be a folder holding an exploded structure for an application
or may be a zip file containing the resources of the application.deploymentProperties - defines the deployment properties to be used when deploying these application.IOExceptiondefault org.mule.runtime.deployment.model.api.application.Application createApplication(byte[] appContent)
throws IOException
createApplication(File) for more details.appContent - the content of the application.IOExceptiondefault org.mule.runtime.deployment.model.api.application.Application createApplication(byte[] appContent,
Optional<Properties> deploymentProperties)
throws IOException
createApplication(File, Optional) for more details.appContent - the content of the application.deploymentProperties - defines the deployment properties to be used when deploying these application.IOExceptiondefault org.mule.runtime.deployment.model.api.domain.Domain createDomain(File domainLocation) throws IOException
Domain from a set of resources.
The created domain will be created lazily meaning that the domain resources
will be created based on the different request made to the domain.
Only requested components will be executed. All sources for flows will be stop unless
they are requested to be started by the client.
Be aware that resources (ports, file system, etc) are shared so in those cases where resources are needed by the domain a deployment
exception could happen.
The domain will be deployed using MuleDeploymentProperties.MULE_MUTE_APP_LOGS_DEPLOYMENT_PROPERTY
so the domain logs are muted.domainLocation - location of the domain content. The domain content
may be a folder holding an exploded structure for an domain
or may be a jar file containing the resources of the domain.IOExceptiondefault org.mule.runtime.deployment.model.api.domain.Domain createDomain(byte[] domainContent)
throws IOException
createDomain(File) for more details.domainContent - the content of the domain.IOExceptiondefault void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptiondefault void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.