Providers implementing this interface MAY be annotated with
@Provider annotation in order to be
discovered by JAX-RS runtime when scanning for resources and providers.
This provider types is supported only as part of the Server API.
javax.ws.rs.NameBinding
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(ResourceInfo
resource class and method information. resourceInfo, FeatureContext configurable resource or sub-resource method-level runtime context
associated with the context)resourceInfo in which the featureA callback method called by the JAX-RS runtime during the application
deployment to register provider instances or classes in a
|
| configure | back to summary |
|---|---|
| public void configure(ResourceInfo resourceInfo, FeatureContext context) A callback method called by the JAX-RS runtime during the application
deployment to register provider instances or classes in a
The registered provider instances or classes are expected to be implementing one or more of the following interfaces:
A provider instance or class that does not implement any of the interfaces
above may be ignored by the JAX-RS implementation. In such case a
Conceptually, this callback method is called during a
| |