java.lang.Object
org.myjtools.jexten.plugin.internal.Plugin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildModuleLayer(ModuleLayer parentLayer, ClassLoader parentClassLoader) Build the JavaModuleLayerthat will be used to load the classes of the plugin.booleanisHostedBy(ModuleLayer moduleLayer) manifest()Get the plugin manifest that describes the plugin.moduleNames(ModuleLayer parentLayer) Compute a list with every Java module used by the plugin, excluding the modules that are already used by the parent layer.toString()
-
Field Details
-
log
public static final org.slf4j.Logger log
-
-
Constructor Details
-
Plugin
-
-
Method Details
-
manifest
Get the plugin manifest that describes the plugin.- Returns:
- The plugin manifest
-
moduleNames
Compute a list with every Java module used by the plugin, excluding the modules that are already used by the parent layer. -
isHostedBy
-
buildModuleLayer
public Optional<ModuleLayer> buildModuleLayer(ModuleLayer parentLayer, ClassLoader parentClassLoader) Build the JavaModuleLayerthat will be used to load the classes of the plugin.- Returns:
- Either the module layer or an empty optional if it could not be created for any reason
-
moduleReferences
-
toString
-