org.springframework.osgi.extender.event
Class BootstrappingDependenciesEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent
org.springframework.osgi.extender.event.BootstrappingDependenciesEvent
- All Implemented Interfaces:
- Serializable
public class BootstrappingDependenciesEvent
- extends OsgiBundleApplicationContextEvent
Spring-DM Extender bootstrapping event. Used during the application context discovery phase, before an application
context is fully initialized. Similar to BootstrappingDependencyEvent
, this event contains the information
regarding all unsatisfied dependencies.
Consider using this event BootstrappingDependencyEvent
for getting a global overview of the waiting
application and BootstrappingDependencyEvent
for finding out specific information.
It can be used to receive status updates for contexts started by the extender.
- Author:
- Costin Leau
- See Also:
- Serialized Form
BootstrappingDependenciesEvent
public BootstrappingDependenciesEvent(ApplicationContext source,
Bundle bundle,
Collection<OsgiServiceDependencyEvent> nestedEvents,
Filter filter,
long timeLeft)
- Constructs a new
BootstrappingDependencyEvent
instance.
- Parameters:
source
-
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()
getTimeToWait
public long getTimeToWait()
Copyright © 2006-2011 Spring Framework. All Rights Reserved.