Index

B C E G H I L M N O P S T V W 
All Classes and Interfaces|All Packages

B

Basic Usage - Search tag in interface org.myjtools.jexten.ExtensionManager
Section
boot() - Static method in interface org.myjtools.jexten.ModuleLayerProvider
 

C

clear() - Method in interface org.myjtools.jexten.ExtensionManager
Clears all cached extension instances.
compareTo(Version) - Method in record class org.myjtools.jexten.Version
 
compose(ModuleLayerProvider...) - Static method in interface org.myjtools.jexten.ModuleLayerProvider
 
create() - Static method in interface org.myjtools.jexten.ExtensionManager
Creates a new ExtensionManager that discovers extensions from the boot module layer.
create(ModuleLayerProvider) - Static method in interface org.myjtools.jexten.ExtensionManager
Creates a new ExtensionManager that discovers extensions from the specified module layer provider.

E

empty() - Static method in interface org.myjtools.jexten.InjectionProvider
 
empty() - Static method in interface org.myjtools.jexten.ModuleLayerProvider
 
equals(Object) - Method in record class org.myjtools.jexten.Version
Indicates whether some other object is "equal to" this one.
Extension - Annotation Interface in org.myjtools.jexten
This annotation allows to mark a class as an extension managed by the ExtensionManager.
ExtensionLoader - Interface in org.myjtools.jexten
This interface exposes a method to be used in order to load an extension.
ExtensionManager - Interface in org.myjtools.jexten
Central interface for discovering and retrieving extensions in the JExten framework.
extensionPoint() - Element in annotation interface org.myjtools.jexten.Extension
The qualified type name of the extension point that is extended.
ExtensionPoint - Annotation Interface in org.myjtools.jexten
This annotation allows to mark an interface or abstract class as an extension point managed by the ExtensionManager.
extensionPointVersion() - Element in annotation interface org.myjtools.jexten.Extension
The minimum version of the extension point that is extended in form of <majorVersion>.<minorVersion> .

G

getClass(String) - Method in interface org.myjtools.jexten.ModuleLayerProvider
 
getExtension(Class<T>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves the highest priority extension implementing the specified extension point.
getExtension(Class<T>, Predicate<Class<?>>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves the highest priority extension implementing the specified extension point that matches the given filter.
getExtensionByName(Class<T>, String) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves an extension by its exact name as specified in Extension.name().
getExtensionByName(Class<T>, Predicate<String>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves an extension whose name matches the given predicate.
getExtensions(Class<T>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves all extensions implementing the specified extension point.
getExtensions(Class<T>, Predicate<Class<?>>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves all extensions implementing the specified extension point that match the given filter.
getExtensionsByName(Class<T>, Predicate<String>) - Method in interface org.myjtools.jexten.ExtensionManager
Retrieves all extensions whose names match the given predicate.

H

hashCode() - Method in record class org.myjtools.jexten.Version
Returns a hash code value for this object.
HIGHER - Enum constant in enum class org.myjtools.jexten.Priority
 
HIGHEST - Enum constant in enum class org.myjtools.jexten.Priority
 

I

Inject - Annotation Interface in org.myjtools.jexten
The fields of an extension class that are annotated with Injected and have a type of other extension points will be automatically assigned.
InjectionProvider - Interface in org.myjtools.jexten
 
isCompatibleWith(Version) - Method in record class org.myjtools.jexten.Version
Check whether this version is compatible with the one passed as argument.

L

load(ServiceLoader.Provider<T>, Scope) - Method in interface org.myjtools.jexten.ExtensionLoader
Loads an extension instance from the given service provider.
loadedWith() - Element in annotation interface org.myjtools.jexten.Extension
A custom extension loader that will be used to load the extension.
LOWER - Enum constant in enum class org.myjtools.jexten.Priority
 
LOWEST - Enum constant in enum class org.myjtools.jexten.Priority
 

M

major() - Method in record class org.myjtools.jexten.Version
Returns the value of the major record component.
minor() - Method in record class org.myjtools.jexten.Version
Returns the value of the minor record component.
ModuleLayerProvider - Interface in org.myjtools.jexten
This interface provides a stream of ModuleLayer that would be used to locate candidate classes for extensions.
moduleLayers() - Method in interface org.myjtools.jexten.ModuleLayerProvider
 

N

name() - Element in annotation interface org.myjtools.jexten.Extension
A specific name to identify this extension for injection purposes
NORMAL - Enum constant in enum class org.myjtools.jexten.Priority
 

O

of(String) - Static method in record class org.myjtools.jexten.Version
Creates a new instance from a string representation
org.myjtools.jexten - module org.myjtools.jexten
Core module of the JExten extension framework.
org.myjtools.jexten - package org.myjtools.jexten
 

P

patch() - Method in record class org.myjtools.jexten.Version
Returns the value of the patch record component.
PostConstruct - Annotation Interface in org.myjtools.jexten
Methods marked with this annotation will be executed when an extension instance is created, after the injected fields have been resolved.
priority() - Element in annotation interface org.myjtools.jexten.Extension
The priority level used when multiple extensions implement the same extension point.
Priority - Enum Class in org.myjtools.jexten
 
provideInstancesFor(Class<?>, String) - Method in interface org.myjtools.jexten.InjectionProvider
 

S

scope() - Element in annotation interface org.myjtools.jexten.Extension
The lifecycle scope that determines how extension instances are created and managed.
Scope - Enum Class in org.myjtools.jexten
 
SESSION - Enum constant in enum class org.myjtools.jexten.Scope
 
SINGLETON - Enum constant in enum class org.myjtools.jexten.Scope
 

T

toString() - Method in record class org.myjtools.jexten.Version
Returns a string representation of this record class.
TRANSIENT - Enum constant in enum class org.myjtools.jexten.Scope
 

V

validate(String) - Static method in record class org.myjtools.jexten.Version
Check whether the given string representation is a valid semantic version
value() - Element in annotation interface org.myjtools.jexten.Inject
Name of a specific extension to be injected, in case of more than one is available and the priority mechanism does not provide enough control.
valueOf(String) - Static method in enum class org.myjtools.jexten.Priority
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.myjtools.jexten.Scope
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.myjtools.jexten.Priority
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.myjtools.jexten.Scope
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Element in annotation interface org.myjtools.jexten.ExtensionPoint
 
Version - Record Class in org.myjtools.jexten
Simplistic implementation of a version number that follows the Semantic Versioning naming (...).
Version(int, int, String) - Constructor for record class org.myjtools.jexten.Version
Creates an instance of a Version record class.

W

withInjectionProvider(InjectionProvider) - Method in interface org.myjtools.jexten.ExtensionManager
Configures this ExtensionManager to use a custom injection provider for resolving dependencies during extension instantiation.
With Plugin Support - Search tag in interface org.myjtools.jexten.ExtensionManager
Section
B C E G H I L M N O P S T V W 
All Classes and Interfaces|All Packages