Package org.pf4j
Class ExtensionWrapper<T>
java.lang.Object
org.pf4j.ExtensionWrapper<T>
- All Implemented Interfaces:
Comparable<ExtensionWrapper<T>>
A wrapper over extension instance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExtensionDescriptor
private T
private final ExtensionFactory
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionWrapper
(ExtensionDescriptor descriptor, ExtensionFactory extensionFactory) -
Method Summary
Modifier and TypeMethodDescriptionint
int
-
Field Details
-
descriptor
-
extensionFactory
-
extension
-
-
Constructor Details
-
ExtensionWrapper
-
-
Method Details
-
getExtension
-
getDescriptor
-
getOrdinal
public int getOrdinal() -
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
-