org.glassfish.jersey.server.wadl.internal
Class WadlAutoDiscoverable

java.lang.Object
  extended by org.glassfish.jersey.server.wadl.internal.WadlAutoDiscoverable
All Implemented Interfaces:
AutoDiscoverable

@ConstrainedTo(value=SERVER)
public final class WadlAutoDiscoverable
extends Object
implements AutoDiscoverable

AutoDiscoverable registering WadlFeature if this feature is not already registered.

Author:
Michal Gajdos (michal.gajdos at oracle.com)

Constructor Summary
WadlAutoDiscoverable()
           
 
Method Summary
 void configure(FeatureContext context)
          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 Detail

WadlAutoDiscoverable

public WadlAutoDiscoverable()
Method Detail

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.


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.