Class PluginRuntime
java.lang.Object
com.xebialabs.xlrelease.osgi.spring.PluginRuntime
Everything the host needs to reference a running plugin instance: the OSGi bundle it came
from, its parsed manifest, and its child Spring context. Built by
PluginContextFactory.
Deliberately minimal - this is the holder PluginBundleTracker tracks one
per active bundle (BundleTracker<PluginRuntime>); it is expected to grow as
tracker-level bookkeeping needs arise, not to be replaced.
-
Constructor Summary
ConstructorsConstructorDescriptionPluginRuntime(org.osgi.framework.Bundle bundle, PluginManifest manifest, org.springframework.context.ConfigurableApplicationContext context) -
Method Summary
-
Constructor Details
-
PluginRuntime
public PluginRuntime(org.osgi.framework.Bundle bundle, PluginManifest manifest, org.springframework.context.ConfigurableApplicationContext context)
-
-
Method Details
-
bundle
public org.osgi.framework.Bundle bundle() -
manifest
-
context
public org.springframework.context.ConfigurableApplicationContext context()
-