Class JaxbAutoDiscoverable

java.lang.Object
org.glassfish.jersey.jaxb.internal.JaxbAutoDiscoverable
All Implemented Interfaces:
AutoDiscoverable, ForcedAutoDiscoverable

public final class JaxbAutoDiscoverable extends Object implements ForcedAutoDiscoverable
JAXB ForcedAutoDiscoverable that registers all necessary JAXB features into the injection manager directly.
Author:
Jakub Podlesak
  • Constructor Details

    • JaxbAutoDiscoverable

      public JaxbAutoDiscoverable()
  • Method Details

    • configure

      public void configure(FeatureContext context)
      Description copied from interface: AutoDiscoverable
      A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.

      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.

      Specified by:
      configure in interface AutoDiscoverable
      Parameters:
      context - configurable context in which the auto-discoverable should be configured.