org.springframework.osgi.extender.event
Class BootstrappingDependenciesFailedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.context.event.ApplicationContextEvent
              extended by org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent
                  extended by org.springframework.osgi.context.event.OsgiBundleContextFailedEvent
                      extended by org.springframework.osgi.extender.event.BootstrappingDependenciesFailedEvent
All Implemented Interfaces:
Serializable

public class BootstrappingDependenciesFailedEvent
extends OsgiBundleContextFailedEvent

Bootstrapping event indicating a context has failed to initializsed due to unsatisfied mandatory dependencies.

Author:
Costin Leau
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BootstrappingDependenciesFailedEvent(ApplicationContext source, Bundle bundle, Throwable th, Collection<OsgiServiceDependencyEvent> nestedEvents, Filter filter)
           
 
Method Summary
 Filter getDependenciesAsFilter()
           
 Collection<OsgiServiceDependencyEvent> getDependencyEvents()
          Returns the nested, dependency event that caused the bootstrapping event to be raised.
 Collection<String> getDependencyFilters()
           
 
Methods inherited from class org.springframework.osgi.context.event.OsgiBundleContextFailedEvent
getFailureCause
 
Methods inherited from class org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent
getBundle
 
Methods inherited from class org.springframework.context.event.ApplicationContextEvent
getApplicationContext
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrappingDependenciesFailedEvent

public BootstrappingDependenciesFailedEvent(ApplicationContext source,
                                            Bundle bundle,
                                            Throwable th,
                                            Collection<OsgiServiceDependencyEvent> nestedEvents,
                                            Filter filter)
Method Detail

getDependencyEvents

public Collection<OsgiServiceDependencyEvent> getDependencyEvents()
Returns the nested, dependency event that caused the bootstrapping event to be raised.

Returns:
associated dependency event

getDependenciesAsFilter

public Filter getDependenciesAsFilter()

getDependencyFilters

public Collection<String> getDependencyFilters()


Copyright © 2006-2011 Spring Framework. All Rights Reserved.