| Constructor and Description |
|---|
DefaultResourceLoader(Artifact artifact,
org.mule.tooling.client.internal.serialization.Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
Optional<URL> |
findIn(String resource,
String groupId,
String artifactId,
Optional<String> version,
String classifier,
String type) |
URL |
getResource(String resource) |
InputStream |
getResourceAsStream(String resource) |
Object |
invokeMethod(String methodName,
String[] classes,
String[] arguments)
Dispatcher that calls the method on this object by the given name and arguments.
|
Optional<InputStream> |
loadFrom(String resource,
String groupId,
String artifactId,
Optional<String> version,
String classifier,
String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindIn, loadFromisFeatureEnabled, methodNotFound, notMatchingMethod, validateInputpublic DefaultResourceLoader(Artifact artifact, org.mule.tooling.client.internal.serialization.Serializer serializer)
public InputStream getResourceAsStream(String resource)
getResourceAsStream in interface org.mule.tooling.client.api.artifact.resources.ResourceLoaderpublic Optional<URL> findIn(String resource, String groupId, String artifactId, Optional<String> version, String classifier, String type)
findIn in interface org.mule.tooling.client.api.artifact.resources.ResourceLoaderpublic Optional<InputStream> loadFrom(String resource, String groupId, String artifactId, Optional<String> version, String classifier, String type)
loadFrom in interface org.mule.tooling.client.api.artifact.resources.ResourceLoaderpublic URL getResource(String resource)
getResource in interface org.mule.tooling.client.api.artifact.resources.ResourceLoaderpublic 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 © 2024 MuleSoft, Inc.. All rights reserved.