public class DependencyProperties
extends java.lang.Object
| Constructor and Description |
|---|
DependencyProperties() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Dictionary<java.lang.String,?> |
getDependencyProperties(DependencyModel dependency) |
static boolean |
match(org.osgi.framework.ServiceReference reference,
DependencyModel dependency) |
static boolean |
match(org.osgi.framework.ServiceReference reference,
DependencyModel dependency,
org.osgi.framework.BundleContext context)
Checks that the 'target' property of the service reference matches the dependency.
|
public static java.util.Dictionary<java.lang.String,?> getDependencyProperties(DependencyModel dependency)
public static boolean match(org.osgi.framework.ServiceReference reference,
DependencyModel dependency,
org.osgi.framework.BundleContext context)
reference - the referencedependency - the dependencycontext - a bundle context used to build the filterpublic static boolean match(org.osgi.framework.ServiceReference reference,
DependencyModel dependency)
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.