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