public class BootstrappingDependenciesEvent extends OsgiBundleApplicationContextEvent
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.| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.Filter |
dependenciesFilter |
private java.util.Collection<OsgiServiceDependencyEvent> |
dependencyEvents |
private java.util.Collection<java.lang.String> |
dependencyFilters |
private long |
timeLeft |
| Constructor and Description |
|---|
BootstrappingDependenciesEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
java.util.Collection<OsgiServiceDependencyEvent> nestedEvents,
org.osgi.framework.Filter filter,
long timeLeft)
Constructs a new
BootstrappingDependencyEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Filter |
getDependenciesAsFilter() |
java.util.Collection<OsgiServiceDependencyEvent> |
getDependencyEvents()
Returns the nested, dependency event that caused the bootstrapping event to be raised.
|
java.util.Collection<java.lang.String> |
getDependencyFilters() |
long |
getTimeToWait() |
getBundleprivate final java.util.Collection<OsgiServiceDependencyEvent> dependencyEvents
private final java.util.Collection<java.lang.String> dependencyFilters
private final org.osgi.framework.Filter dependenciesFilter
private final long timeLeft
public BootstrappingDependenciesEvent(org.springframework.context.ApplicationContext source,
org.osgi.framework.Bundle bundle,
java.util.Collection<OsgiServiceDependencyEvent> nestedEvents,
org.osgi.framework.Filter filter,
long timeLeft)
BootstrappingDependencyEvent instance.source - public java.util.Collection<OsgiServiceDependencyEvent> getDependencyEvents()
public org.osgi.framework.Filter getDependenciesAsFilter()
public java.util.Collection<java.lang.String> getDependencyFilters()
public long getTimeToWait()