Class CurrentContextPluginSetupDescriptor
java.lang.Object
de.iip_ecosphere.platform.support.plugins.CurrentContextPluginSetupDescriptor
- All Implemented Interfaces:
PluginSetupDescriptor
A default plugin setup descriptor taking the actual thread's context class loader or as fallback the specified
parent classloader as actual one. This descriptor is intended for plugins that do not need to load further classes
or, in turn, use the plugin mechanism for implementation.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClassLoader(ClassLoader parent) Returns the class loader being responsible for loading the plugin.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.plugins.PluginSetupDescriptor
getInstallDir, getPluginDescriptors, preventDuplicates
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CurrentContextPluginSetupDescriptor
public CurrentContextPluginSetupDescriptor()
-
-
Method Details
-
createClassLoader
Description copied from interface:PluginSetupDescriptorReturns the class loader being responsible for loading the plugin.- Specified by:
createClassLoaderin interfacePluginSetupDescriptor- Parameters:
parent- the parent class loader with basic dependencies to use for loading this plugin- Returns:
- the class loader
-