public class DependencyServiceManager extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.MandatoryServiceDependency,String> |
dependencies |
protected Map<org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.MandatoryServiceDependency,String> |
unsatisfiedDependencies |
Constructor and Description |
---|
DependencyServiceManager(ContextExecutorAccessor executor,
DelegatedExecutionOsgiBundleApplicationContext context,
List<OsgiServiceDependencyFactory> dependencyFactories,
Runnable executeIfDone,
long maxWaitTime)
Create a dependency manager, indicating the executor bound to, the context that contains the dependencies and the
task to execute if all dependencies are met.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allDependenciesSatisfied() |
protected void |
deregister() |
protected void |
findServiceDependencies() |
Map<org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.MandatoryServiceDependency,String> |
getUnsatisfiedDependencies() |
boolean |
isSatisfied() |
protected void |
register() |
protected final Map<org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.MandatoryServiceDependency,String> dependencies
public DependencyServiceManager(ContextExecutorAccessor executor, DelegatedExecutionOsgiBundleApplicationContext context, List<OsgiServiceDependencyFactory> dependencyFactories, Runnable executeIfDone, long maxWaitTime)
executor
- context
- executeIfDone
- public boolean isSatisfied()
public Map<org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.MandatoryServiceDependency,String> getUnsatisfiedDependencies()
protected void register()
protected void deregister()
public boolean allDependenciesSatisfied()
Copyright © 2006-2013. All Rights Reserved.