public class FileJarExplorer extends Object implements JarExplorer
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_EXTENSION |
| Constructor and Description |
|---|
FileJarExplorer()
Creates a
FileJarExplorer that considers the services as exported services. |
FileJarExplorer(boolean runtimeModeForServices)
Creates a
FileJarExplorer defining whether services should be considered as resources. |
| Modifier and Type | Method and Description |
|---|---|
JarInfo |
explore(URI library)
Finds the packages defined in a given resource
|
static URL |
getServiceResourceUrl(URL resource,
String serviceInterface) |
protected static final String CLASS_EXTENSION
public FileJarExplorer(boolean runtimeModeForServices)
FileJarExplorer defining whether services should be considered as resources.runtimeModeForServices - if false, services will be considered as resources, otherwise they will be considered
as exported services.public FileJarExplorer()
FileJarExplorer that considers the services as exported services.public JarInfo explore(URI library)
JarExplorerexplore in interface JarExplorerlibrary - folder or JAR file to explore. Non nullJarInfo containing the found resources and packages. Non null.public static URL getServiceResourceUrl(URL resource, String serviceInterface) throws MalformedURLException
MalformedURLExceptionCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.