Interface ResourceDiscoveryService
-
- All Known Implementing Classes:
ReflectionResourceDiscoveryService
public interface ResourceDiscoveryServiceA service that discovers JAX-RS resources association model path references with resource path templates. s- Author:
- Carl Harris
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ResourceDescriptor>discoverResources(String applicationPath, ReflectionService reflectionService)Discovers JAX-RS resources, adding appropriate descriptors to the given configurable resolver.
-
-
-
Method Detail
-
discoverResources
Collection<ResourceDescriptor> discoverResources(String applicationPath, ReflectionService reflectionService) throws ResourceConfigurationException
Discovers JAX-RS resources, adding appropriate descriptors to the given configurable resolver.- Parameters:
applicationPath- the context-qualified path to the JAX-RS applicationreflectionService- reflection service to use for discovery- Returns:
- resource descriptors
- Throws:
ResourceConfigurationException- if a configuration error is discovered
-
-