public class MetaInfExtensionModule
extends SimpleExtensionModule
A SimpleExtensionModule implementation which reads extension class metadata from META-INF.
| Modifiers | Name | Description |
|---|---|---|
static String |
MODULE_INSTANCE_CLASSES_KEY |
Property key in META-INF configuration file for specifying instance method extension classes. |
static String |
MODULE_STATIC_CLASSES_KEY |
Property key in META-INF configuration file for specifying static method extension classes. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public List<Class> |
getInstanceMethodsExtensionClasses()Returns the list of classes that define new instance methods for this module. |
|
public List<Class> |
getStaticMethodsExtensionClasses()Returns the list of classes that define new static methods for this module. |
|
public static MetaInfExtensionModule |
newModule(Properties properties, ClassLoader loader)Creates a new MetaInfExtensionModule from the given properties and class loader. |
| Methods inherited from class | Name |
|---|---|
class SimpleExtensionModule |
getInstanceMethodsExtensionClasses, getMetaMethods, getStaticMethodsExtensionClasses |
class ExtensionModule |
getMetaMethods, getName, getVersion, toString |
Property key in META-INF configuration file for specifying instance method extension classes.
Property key in META-INF configuration file for specifying static method extension classes.
Returns the list of classes that define new instance methods for this module.
Returns the list of classes that define new static methods for this module.
Creates a new MetaInfExtensionModule from the given properties and class loader. The properties should contain the module name and version, as well as class names for instance and static extension methods.
properties - the module metadata propertiesloader - the class loader to use for loading extension classes