|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.util.property.FallbackPropertyResolver
org.ops4j.pax.swissbox.property.BundleContextPropertyResolver
public class BundleContextPropertyResolver
Resolves properties by first looking in an optional configured dictionary then if property not found looking in bundle context.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
findProperty(java.lang.String propertyName)
Resolves a property based on it's name by: 1. |
Methods inherited from class org.ops4j.util.property.FallbackPropertyResolver |
---|
get |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 nullMethod Detail |
---|
public java.lang.String findProperty(java.lang.String propertyName)
findProperty
in class org.ops4j.util.property.FallbackPropertyResolver
propertyName
- property name to be resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |