public class OsgiBundleContextClosedEvent extends OsgiBundleApplicationContextEvent
source| Constructor and Description |
|---|
OsgiBundleContextClosedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle)
Constructs a new
OsgiBundleContextClosedEvent instance. |
OsgiBundleContextClosedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
Throwable cause)
Constructs a new
OsgiBundleContextClosedEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getFailureCause()
Returns the
Throwable that caused the application context
closure to fail. |
getBundlegetApplicationContextgetSource, toStringpublic OsgiBundleContextClosedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
Throwable cause)
OsgiBundleContextClosedEvent instance.source - the ApplicationContext that has been closed (must
not be null)bundle - the OSGi bundle associated with the source application
contextcause - optional Throwable indicating the cause of
the failurepublic OsgiBundleContextClosedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle)
OsgiBundleContextClosedEvent instance.source - event sourcebundle - associated OSGi bundlepublic final Throwable getFailureCause()
Throwable that caused the application context
closure to fail.Copyright © 2006–2015. All rights reserved.