Class WadlAutoDiscoverable

java.lang.Object
org.glassfish.jersey.server.wadl.internal.WadlAutoDiscoverable
All Implemented Interfaces:
org.glassfish.jersey.internal.spi.AutoDiscoverable, org.glassfish.jersey.internal.spi.ForcedAutoDiscoverable

@ConstrainedTo(SERVER) @Priority(2000) public final class WadlAutoDiscoverable extends Object implements org.glassfish.jersey.internal.spi.ForcedAutoDiscoverable
AutoDiscoverable registering WadlFeature if this feature is not already registered.
Author:
Michal Gajdos
  • Field Summary

    Fields inherited from interface org.glassfish.jersey.internal.spi.AutoDiscoverable

    DEFAULT_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WadlAutoDiscoverable

      public WadlAutoDiscoverable()
  • Method Details

    • configure

      public void configure(FeatureContext context)
      Description copied from interface: org.glassfish.jersey.internal.spi.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 org.glassfish.jersey.internal.spi.AutoDiscoverable
      Parameters:
      context - configurable context in which the auto-discoverable should be configured.