Package | Description |
---|---|
org.microbean.configuration.spi |
Provides classes and interfaces for service providers for the
MicroBean Configuration framework.
|
Modifier and Type | Method and Description |
---|---|
AbstractResourceLoadingConfiguration.Resource<? extends Properties> |
PropertiesLoader.apply(Map<? extends String,? extends String> requestedConfigurationCoordinates) |
AbstractResourceLoadingConfiguration.Resource<? extends T> |
CachingResourceLoader.apply(Map<? extends String,? extends String> requestedConfigurationCoordinates) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
PropertiesConfiguration.getNames(AbstractResourceLoadingConfiguration.Resource<? extends Properties> propertiesResource) |
protected abstract Set<String> |
AbstractResourceLoadingConfiguration.getNames(AbstractResourceLoadingConfiguration.Resource<? extends T> resource) |
protected int |
PropertiesConfiguration.getRank(AbstractResourceLoadingConfiguration.Resource<? extends Properties> resource) |
protected int |
AbstractResourceLoadingConfiguration.getRank(AbstractResourceLoadingConfiguration.Resource<? extends T> resource) |
protected ConfigurationValue |
PropertiesConfiguration.getValue(AbstractResourceLoadingConfiguration.Resource<? extends Properties> propertiesResource,
Map<String,String> requestedCoordinates,
String name)
Returns a
ConfigurationValue suitable for the supplied
name normally sourced in some fashion from the supplied
AbstractResourceLoadingConfiguration.Resource , or null if no such ConfigurationValue can be found. |
protected abstract ConfigurationValue |
AbstractResourceLoadingConfiguration.getValue(AbstractResourceLoadingConfiguration.Resource<? extends T> resource,
Map<String,String> requestedCoordinates,
String name)
Returns a
ConfigurationValue suitable for the supplied
name normally sourced in some fashion from the supplied
AbstractResourceLoadingConfiguration.Resource , or null if no such ConfigurationValue can be found. |
Constructor and Description |
---|
AbstractResourceLoadingConfiguration(Function<? super Map<? extends String,? extends String>,? extends AbstractResourceLoadingConfiguration.Resource<? extends T>> resourceLoader)
Creates a new
AbstractResourceLoadingConfiguration . |
CachingResourceLoader(Function<? super Map<? extends String,? extends String>,? extends AbstractResourceLoadingConfiguration.Resource<? extends T>> delegate) |
PropertiesConfiguration(Function<? super Map<? extends String,? extends String>,? extends AbstractResourceLoadingConfiguration.Resource<? extends Properties>> resourceLoader)
Creates a new
PropertiesConfiguration . |
Copyright © 2017–2019, microBean. All rights reserved.