public final class JaxbAutoDiscoverable extends java.lang.Object implements ForcedAutoDiscoverable
ForcedAutoDiscoverable that registers all necessary JAXB features
into the service locator directly.| Modifier and Type | Field and Description |
|---|---|
private org.glassfish.hk2.api.ServiceLocator |
locator |
DEFAULT_PRIORITY| Constructor and Description |
|---|
JaxbAutoDiscoverable() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(javax.ws.rs.core.FeatureContext context)
A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
|
public void configure(javax.ws.rs.core.FeatureContext context)
AutoDiscoverable
Note that as with JAX-RS features, before registering new JAX-RS components in a
given configurable context, an auto-discoverable component should verify that newly registered components are not
already registered in the configurable context.
configure in interface AutoDiscoverablecontext - configurable context in which the auto-discoverable should be configured.