public class DependencyManager extends Object
Constructor and Description |
---|
DependencyManager(org.osgi.framework.BundleContext context,
Logger logger)
Creates a new dependency manager.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Service service)
Adds a new service to the dependency manager.
|
ConfigurationDependency |
createConfigurationDependency() |
Service |
createService()
Creates a new service.
|
ServiceDependency |
createServiceDependency()
Creates a new service dependency.
|
List |
getServices()
Returns a list of services.
|
void |
remove(Service service)
Removes a service from the dependency manager.
|
public DependencyManager(org.osgi.framework.BundleContext context, Logger logger)
context
- the bundle contextlogger
- public void add(Service service)
service
- the service to addpublic void remove(Service service)
service
- the service to removepublic Service createService()
public ServiceDependency createServiceDependency()
public ConfigurationDependency createConfigurationDependency()
public List getServices()
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.