public class DefaultToolingRuntimeClientFactory extends Object implements org.mule.tooling.client.api.ToolingRuntimeClientBuilderFactory, Command, org.mule.tooling.client.api.Disposable
ToolingRuntimeClientBuilderFactory for creating ToolingRuntimeClients.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultToolingRuntimeClientFactory.BytesURLConnection |
static class |
DefaultToolingRuntimeClientFactory.BytesURLStreamHandler
URL stream handler that read the content from memory
|
| Constructor and Description |
|---|
DefaultToolingRuntimeClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.tooling.client.api.ToolingRuntimeClient.Builder |
create() |
static org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader |
createContainerClassLoader(org.mule.runtime.container.api.ModuleRepository moduleRepository) |
static org.mule.runtime.container.api.ModuleRepository |
createModuleRepository() |
void |
dispose() |
Object |
invokeMethod(String methodName,
String[] classes,
String[] arguments)
Dispatcher that calls the method on this object by the given name and arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethodNotFound, notMatchingMethodpublic static org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader createContainerClassLoader(org.mule.runtime.container.api.ModuleRepository moduleRepository)
public static org.mule.runtime.container.api.ModuleRepository createModuleRepository()
public org.mule.tooling.client.api.ToolingRuntimeClient.Builder create()
create in interface org.mule.tooling.client.api.ToolingRuntimeClientBuilderFactorypublic void dispose()
dispose in interface org.mule.tooling.client.api.Disposablepublic Object invokeMethod(String methodName, String[] classes, String[] arguments)
CommandinvokeMethod in interface CommandmethodName - the name of the method to be invoked.classes - array of class names for arguments.arguments - array of arguments serialized as JSON.Object, in case of a service method invocation it will return the DTO serialized to JSON or the instance
in case of a service instance.Copyright © 2017 MuleSoft, Inc.. All rights reserved.