Class PluginContextBuildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.xlrelease.osgi.spring.PluginContextBuildException
- All Implemented Interfaces:
Serializable
Thrown by
PluginContextFactory.build(org.osgi.framework.Bundle, com.xebialabs.xlrelease.osgi.spring.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. Every teardown step tolerates
a partially-built runtime (e.g. no extensions registered yet if refresh() itself
failed), so there is nothing bundle-installation-specific for the caller to know.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PluginContextBuildException
-
-
Method Details
-
partialRuntime
-