public class OsgiBundleContextFailedEvent extends OsgiBundleApplicationContextEvent
ApplicationContext failed.| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause |
| Constructor and Description |
|---|
OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
java.lang.Throwable cause)
Constructs a new
OsgiBundleContextFailedEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getFailureCause()
Returns the
Throwable that caused the application context to fail. |
getBundlepublic OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
java.lang.Throwable cause)
OsgiBundleContextFailedEvent instance.source - the ApplicationContext that has failed (must not be null)bundle - the OSGi bundle associated with the source application contextcause - optional Throwable indicating the cause of the failure