org.eclipse.gemini.blueprint.context.event
Class OsgiBundleContextFailedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent
org.eclipse.gemini.blueprint.context.event.OsgiBundleContextFailedEvent
- All Implemented Interfaces:
- Serializable
public class OsgiBundleContextFailedEvent
- extends OsgiBundleApplicationContextEvent
Event raised when the initialization of an ApplicationContext
failed.
- Author:
- Costin Leau
- See Also:
- Serialized Form
Constructor Summary |
OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
Throwable cause)
Constructs a new OsgiBundleContextFailedEvent instance. |
Methods inherited from class org.springframework.context.event.ApplicationContextEvent |
getApplicationContext |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
OsgiBundleContextFailedEvent
public OsgiBundleContextFailedEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
Throwable cause)
- Constructs a new
OsgiBundleContextFailedEvent
instance.
- Parameters:
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
getFailureCause
public final Throwable getFailureCause()
- Returns the
Throwable
that caused the application context to fail.
- Returns:
- the cause of the failure.
Copyright © 2006-2013. All Rights Reserved.