# Uses of Class
org.springframework.context.annotation.ResourceElementResolver

Packages that use ResourceElementResolver
Package
Description
org.springframework.context.annotation
Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.

## Uses of ResourceElementResolver in org.springframework.context.annotation

Methods in org.springframework.context.annotation that return ResourceElementResolver
Modifier and Type
Method
Description
`static ResourceElementResolver`
ResourceElementResolver.`forField(String fieldName)`
Create a new `ResourceElementResolver.ResourceFieldResolver` for the specified field.
`static ResourceElementResolver`
ResourceElementResolver.`forField(String fieldName, String resourceName)`
Create a new `ResourceElementResolver.ResourceFieldResolver` for the specified field and resource name.
`static ResourceElementResolver`
ResourceElementResolver.`forMethod(String methodName, Class<?> parameterType)`
Create a new `ResourceElementResolver.ResourceMethodResolver` for the specified method using a resource name that infers from the method name.
`static ResourceElementResolver`
ResourceElementResolver.`forMethod(String methodName, Class<?> parameterType, String resourceName)`
Create a new `ResourceElementResolver.ResourceMethodResolver` for the specified method and resource name.