Index

A B C D E F I M P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addingBundle(Bundle, BundleEvent) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
 
addListener(Class<? extends HostExtensionPoint>, PluginExtensionRegistryImpl.ExtensionRegistryListener) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
Subscribes listener to add/remove events for type, and immediately replays every currently-registered extension of type as a synthetic extensionAdded call (outside the lock, like every other notification) - so a listener never has to race "subscribe" against "read the current snapshot" to build a consistent picture, regardless of the order PluginExtensionRegistryImpl.addListener(java.lang.Class<? extends com.xebialabs.xlrelease.osgi.api.HostExtensionPoint>, com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl.ExtensionRegistryListener) and bundle installation happen to run in.
attach(BundleContext) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionServiceTracker
 

B

build(Bundle, PluginManifest, GenericApplicationContext) - Static method in class com.xebialabs.xlrelease.osgi.impl.PluginContextFactory
 
bundle() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginRuntime
 

C

close() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
 
com.xebialabs.xlrelease.osgi.impl - package com.xebialabs.xlrelease.osgi.impl
 
context() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginRuntime
 
CONTEXT_HEADER - Static variable in class com.xebialabs.xlrelease.osgi.impl.PluginManifest
 

D

detach() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionServiceTracker
 

E

EventSubscriptionsImpl - Class in com.xebialabs.xlrelease.osgi.impl
A single instance is shared between the root host ApplicationContext (declared in OsgiSpringConfiguration) and every plugin's curated parent context (PluginApiParentContext registers the exact same object as a singleton there), mirroring PluginExtensionRegistryImpl's sharing pattern.
EventSubscriptionsImpl(XLReleaseEventBus) - Constructor for class com.xebialabs.xlrelease.osgi.impl.EventSubscriptionsImpl
 
extensionAdded(HostExtensionPoint) - Method in interface com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl.ExtensionRegistryListener
 
extensionRemoved(HostExtensionPoint) - Method in interface com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl.ExtensionRegistryListener
 
extensions(Class<T>) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
 

F

from(Bundle) - Static method in class com.xebialabs.xlrelease.osgi.impl.PluginManifest
 

I

InvalidPluginManifestException - Exception Class in com.xebialabs.xlrelease.osgi.impl
Thrown by PluginManifest.from(Bundle) when a bundle declares itself a Spring plugin (it has an X-Plugin-Context header) but its manifest is malformed.
InvalidPluginManifestException(Bundle, String, String) - Constructor for exception class com.xebialabs.xlrelease.osgi.impl.InvalidPluginManifestException
 
InvalidPluginManifestException(Bundle, String, String, Throwable) - Constructor for exception class com.xebialabs.xlrelease.osgi.impl.InvalidPluginManifestException
 

M

manifest() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginRuntime
 
modifiedBundle(Bundle, BundleEvent, PluginRuntime) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
 

P

partialRuntime() - Method in exception class com.xebialabs.xlrelease.osgi.impl.PluginContextBuildException
 
PluginBundleTracker - Class in com.xebialabs.xlrelease.osgi.impl
Discovers Spring plugin bundles via the PluginManifest contract, builds their child context via PluginContextFactory, and guarantees deterministic teardown on removedBundle - including plain bundle.stop() with no uninstall, which fires synchronously on the calling thread with a fully usable bundle classloader for uninstall, stop, and framework shutdown alike.
PluginBundleTracker(BundleContext, GenericApplicationContext) - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
 
PluginClassLoaderCachePurger - Class in com.xebialabs.xlrelease.osgi.impl
Purges the enumerable set of JDK/Spring caches that would otherwise pin a departing plugin's classloader - a hand-rolled list, after rejecting ClassLoaderLeakPreventor (stale since 2016, and its API assumes a ServletContextEvent rather than an arbitrary ClassLoader).
PluginClassLoaderLeakSentinel - Class in com.xebialabs.xlrelease.osgi.impl
A production safety net, independent of the CI-only leak-gate test suite: after teardown(com.xebialabs.xlrelease.osgi.impl.PluginRuntime) completes, watches whether a plugin's classloader actually becomes collectible within a bounded delay, and logs at ERROR - with the plugin's symbolic name and install/teardown timestamps - only once it is sure.
PluginClassLoaderLeakSentinel() - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginClassLoaderLeakSentinel
 
PluginContextBuildException - Exception Class in com.xebialabs.xlrelease.osgi.impl
Thrown by PluginContextFactory.build(org.osgi.framework.Bundle, com.xebialabs.xlrelease.osgi.impl.PluginManifest, org.springframework.context.support.GenericApplicationContext) when construction fails after the child ApplicationContext was created - carries the partially-built PluginRuntime so the caller can route cleanup through the same PluginTeardown used for normal removal, rather than PluginContextFactory closing it internally.
PluginContextBuildException(PluginRuntime, Throwable) - Constructor for exception class com.xebialabs.xlrelease.osgi.impl.PluginContextBuildException
 
pluginContextClassName() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginManifest
 
PluginContextFactory - Class in com.xebialabs.xlrelease.osgi.impl
Builds a plugin's child AnnotationConfigApplicationContext from a PluginManifest + Bundle, parented to the curated PluginApiParentContext.
PluginExtensionRegistryImpl - Class in com.xebialabs.xlrelease.osgi.impl
A single instance is shared between the root host ApplicationContext (declared in OsgiSpringConfiguration) and every plugin's curated parent context (PluginApiParentContext registers the exact same object as a singleton there) - not two copies, one shared reference, so a plugin-side registration is immediately visible to host-side queries.
PluginExtensionRegistryImpl() - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
 
PluginExtensionRegistryImpl.ExtensionRegistryListener - Interface in com.xebialabs.xlrelease.osgi.impl
Push counterpart to PluginExtensionRegistryImpl.extensions(Class): a host component that wants to maintain externally-visible derived state (e.g.
PluginExtensionServiceTracker - Class in com.xebialabs.xlrelease.osgi.impl
OSGi-service feeder for PluginExtensionRegistryImpl: a bundle that contributes a Declarative Services component (rather than a Spring plugin context, see PluginContextFactory) implementing one of HostExtensionPointCatalog's interfaces is discovered here and registered into the same registry, under the same Bundle-SymbolicName key, as any Spring-plugin-context extension.
PluginExtensionServiceTracker(PluginExtensionRegistryImpl) - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginExtensionServiceTracker
 
PluginManifest - Class in com.xebialabs.xlrelease.osgi.impl
The manifest-header contract a bundle must satisfy to be recognized as a "Spring plugin" by the host:
PluginRuntime - Class in com.xebialabs.xlrelease.osgi.impl
Everything the host needs to reference a running plugin instance: the OSGi bundle it came from, its parsed manifest, and its child Spring context.
PluginRuntime(Bundle, PluginManifest, ConfigurableApplicationContext) - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginRuntime
 
PluginTeardown - Class in com.xebialabs.xlrelease.osgi.impl
The single, strictly-ordered, fully idempotent teardown procedure used by every plugin removal path - this is the load-bearing safety mechanism of the entire OSGi plugin platform.
PluginTeardown(PluginExtensionRegistryImpl, EventSubscriptionsImpl, PluginClassLoaderLeakSentinel) - Constructor for class com.xebialabs.xlrelease.osgi.impl.PluginTeardown
 
prefix() - Method in class com.xebialabs.xlrelease.osgi.impl.PluginManifest
 
PREFIX_HEADER - Static variable in class com.xebialabs.xlrelease.osgi.impl.PluginManifest
 
purge(ClassLoader) - Static method in class com.xebialabs.xlrelease.osgi.impl.PluginClassLoaderCachePurger
 

R

register(String, HostExtensionPoint) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
Fans bean out to every HostExtensionPoint subtype it actually implements - a bean may implement more than one extension-point interface.
removedBundle(Bundle, BundleEvent, PluginRuntime) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
 

S

subscribe(Class<?>, Consumer<Object>) - Method in class com.xebialabs.xlrelease.osgi.impl.EventSubscriptionsImpl
 

T

takeTrackingFailure(Bundle) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginBundleTracker
Outcome of tracking the current revision of bundle, consumed by a checked install.
teardown(PluginRuntime) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginTeardown
 

U

unregister(String) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
Removes every entry registered under bundleSymbolicName, atomically.
unregister(String, HostExtensionPoint) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginExtensionRegistryImpl
Removes just bean from bundleSymbolicName's entries, pruning now-empty type/bundle map entries.

W

watch(PluginRuntime) - Method in class com.xebialabs.xlrelease.osgi.impl.PluginClassLoaderLeakSentinel
Starts watching runtime's classloader for collection.
A B C D E F I M P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form