public class BundleContextPropertyResolver
extends org.ops4j.util.property.FallbackPropertyResolver
| Constructor and Description |
|---|
BundleContextPropertyResolver(org.osgi.framework.BundleContext bundleContext)
Creates a property resolver without a fallback resolver.
|
BundleContextPropertyResolver(org.osgi.framework.BundleContext bundleContext,
org.ops4j.util.property.PropertyResolver fallbackResolver)
Creates a property resolver with a fallback resolver.
|
| Modifier and Type | Method and Description |
|---|---|
String |
findProperty(String propertyName)
Resolves a property based on it's name by:
1. |
public BundleContextPropertyResolver(org.osgi.framework.BundleContext bundleContext)
bundleContext - bundle context; cannot be nullpublic BundleContextPropertyResolver(org.osgi.framework.BundleContext bundleContext,
org.ops4j.util.property.PropertyResolver fallbackResolver)
bundleContext - bundle context; cannot be nullfallbackResolver - fallback property resolver; can be nullpublic String findProperty(String propertyName)
findProperty in class org.ops4j.util.property.FallbackPropertyResolverpropertyName - property name to be resolvedCopyright © 2006–2015 OPS4J - Open Participation Software for Java. All rights reserved.