public class ThemeAwareResourceInjector extends AbstractResourceInjector
ERROR_CLASS_NULL, ERROR_FIELD_NULL, ERROR_FULLY_QUALIFIED_FIELD_NAME_BLANK, ERROR_FULLY_QUALIFIED_NAME_BLANK, ERROR_INSTANCE_NULL, ERROR_METHOD_NULL, ERROR_TYPE_NULL, ERROR_VALUE_NULL
Constructor and Description |
---|
ThemeAwareResourceInjector(GriffonApplication application,
ThemeManager themeManager) |
Modifier and Type | Method and Description |
---|---|
void |
injectResources(Object instance) |
protected Object |
resolveResource(String key,
String[] args) |
protected Object |
resolveResource(String key,
String[] args,
String defaultValue) |
convertValue, doResourceInjection, resolvePropertyEditor, setFieldValue, setPropertyValue
@Inject public ThemeAwareResourceInjector(@Nonnull GriffonApplication application, @Nonnull ThemeManager themeManager)
public void injectResources(@Nonnull Object instance)
injectResources
in interface ResourceInjector
injectResources
in class AbstractResourceInjector
protected Object resolveResource(@Nonnull String key, @Nonnull String[] args)
resolveResource
in class AbstractResourceInjector
protected Object resolveResource(@Nonnull String key, @Nonnull String[] args, @Nullable String defaultValue)
resolveResource
in class AbstractResourceInjector