public abstract class AbstractConfigurationManager extends Object implements ConfigurationManager
Modifier and Type | Field and Description |
---|---|
protected GriffonApplication |
application |
Constructor and Description |
---|
AbstractConfigurationManager() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertValue(Class<?> type,
Object value,
String format) |
protected void |
doConfigurationInjection(Object instance,
Map<String,ConfigurationDescriptor> descriptors) |
protected void |
harvestDescriptors(Class<?> instanceClass,
Class<?> currentClass,
Object instance,
Map<String,ConfigurationDescriptor> descriptors) |
protected void |
injectConfiguration(Object instance) |
protected Object |
resolveConfiguration(String name,
String key,
String defaultValue) |
protected PropertyEditor |
resolvePropertyEditor(Class<?> type,
String format) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration, getConfiguration
@Inject protected GriffonApplication application
protected void harvestDescriptors(@Nonnull Class<?> instanceClass, @Nonnull Class<?> currentClass, @Nonnull Object instance, @Nonnull Map<String,ConfigurationDescriptor> descriptors)
protected void doConfigurationInjection(@Nonnull Object instance, @Nonnull Map<String,ConfigurationDescriptor> descriptors)
@Nonnull protected Object resolveConfiguration(@Nonnull String name, @Nonnull String key, @Nonnull String defaultValue)
@Nonnull protected Object convertValue(@Nonnull Class<?> type, @Nonnull Object value, @Nullable String format)