public class OsgiBundleContextFailedEvent extends OsgiBundleApplicationContextEvent
ApplicationContext
failed.source
Constructor and Description |
---|
OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
Throwable cause)
Constructs a new
OsgiBundleContextFailedEvent instance. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getFailureCause()
Returns the
Throwable that caused the application context to fail. |
getBundle
getApplicationContext
getSource, toString
public OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source, org.osgi.framework.Bundle bundle, 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 failurepublic final Throwable getFailureCause()
Throwable
that caused the application context to fail.Copyright © 2006–2019. All rights reserved.