@org.osgi.annotation.versioning.ProviderType interface ExtensionService extends BindingExtensionProvider, CompilationCustomizerExtensionProvider, StarImportExtensionProvider
Service that dynamically binds extensions providing additional script bindings, star imports, and script metaclasses. The extension service is also responsible for aggregating all metaclass extension providers and handling the registration and removal of metaclass closures as these provider implementations are added or removed from the OSGi container.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Set<Class> |
getMetaClasses()Get the set of all classes that have associated metaclasses. |
|
abstract List<Closure> |
getScriptMetaClasses(ScriptContext scriptContext)Get a list of all script metaclass closures for bound extensions. |
| Methods inherited from class | Name |
|---|---|
interface BindingExtensionProvider |
getBindingVariables |
interface CompilationCustomizerExtensionProvider |
getCompilationCustomizers |
interface StarImportExtensionProvider |
getStarImports |
Get the set of all classes that have associated metaclasses. This value may change as metaclass extension providers are added or removed from the OSGi container.
Get a list of all script metaclass closures for bound extensions.
scriptContext - current script execution context