public class OSGiPropertiesProvider extends Object implements org.jboss.gravia.runtime.spi.PropertiesProvider
PropertiesProvider for OSGi runtimes.| Constructor and Description |
|---|
OSGiPropertiesProvider(BundleContext bundleContext) |
OSGiPropertiesProvider(BundleContext bundleContext,
boolean systemPropertyDelegation) |
OSGiPropertiesProvider(BundleContext bundleContext,
boolean systemPropertyDelegation,
String environmentVariablePrefix) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String key) |
Object |
getProperty(String key,
Object defaultValue) |
Object |
getRequiredProperty(String key) |
public OSGiPropertiesProvider(BundleContext bundleContext)
public OSGiPropertiesProvider(BundleContext bundleContext, boolean systemPropertyDelegation)
public OSGiPropertiesProvider(BundleContext bundleContext, boolean systemPropertyDelegation, String environmentVariablePrefix)
public Object getProperty(String key)
getProperty in interface org.jboss.gravia.runtime.spi.PropertiesProviderpublic Object getRequiredProperty(String key)
getRequiredProperty in interface org.jboss.gravia.runtime.spi.PropertiesProviderCopyright © 2014 JBoss by Red Hat. All rights reserved.