Interface ResourceTypeIntrospector
-
public interface ResourceTypeIntrospectorA service that uses introspection to discover and correlate model path reference annotations with JAX-RS resource annotations on an JAX-RS resource type.- Author:
- Carl Harris
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ResourceDescriptor>describe(Class<?> type, String resourcePath, ModelPath modelPath, TemplateResolver templateResolver, ReflectionService reflectionService)Describes the specified JAX-RS resource.
-
-
-
Method Detail
-
describe
Collection<ResourceDescriptor> describe(Class<?> type, String resourcePath, ModelPath modelPath, TemplateResolver templateResolver, ReflectionService reflectionService) throws ResourceConfigurationException
Describes the specified JAX-RS resource.- Parameters:
type- the type to describeresourcePath- resource path associated with the typemodelPath- model parent model pathtemplateResolver- default template path resolverreflectionService- reflection service to use for introspection- Returns:
- resource descriptors
- Throws:
ResourceConfigurationException- if a configuration error is discovered
-
-