public class DefaultResourceInjector 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 |
---|
DefaultResourceInjector(ResourceResolver resourceResolver) |
Modifier and Type | Method and Description |
---|---|
protected Object |
resolveResource(String key,
String[] args) |
protected Object |
resolveResource(String key,
String[] args,
String defaultValue) |
convertValue, doResourceInjection, injectResources, resolvePropertyEditor, setFieldValue, setPropertyValue
@Inject public DefaultResourceInjector(@Nonnull ResourceResolver resourceResolver)
@Nullable protected Object resolveResource(@Nonnull String key, @Nonnull String[] args)
resolveResource
in class AbstractResourceInjector
@Nullable protected Object resolveResource(@Nonnull String key, @Nonnull String[] args, @Nonnull String defaultValue)
resolveResource
in class AbstractResourceInjector