@Priority(value=2000) public final class LoggingFeatureAutoDiscoverable extends Object implements org.glassfish.jersey.internal.spi.AutoDiscoverable
LoggingFeaturebased on configuration properties.
Feature is registered if any of the common properties (see
LoggingFeature) is set or any of the client properties is
set and context's
RuntimeType.CLIENT or any of the server properties is set and context's
The registration does not occur if the feature is already registered or auto-discoverable mechanism is disabled.
|Constructor and Description|
|Modifier and Type||Method and Description|
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)
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.
context- configurable context in which the auto-discoverable should be configured.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.