Class JacksonAutoDiscoverable
java.lang.Object
org.glassfish.jersey.jackson.internal.JacksonAutoDiscoverable
- All Implemented Interfaces:
AutoDiscoverable
AutoDiscoverable
registering JacksonFeature
if the feature is not already registered.- Author:
- Michal Gajdos
-
Field Summary
Fields inherited from interface org.glassfish.jersey.internal.spi.AutoDiscoverable
DEFAULT_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(FeatureContext context) A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
-
Constructor Details
-
JacksonAutoDiscoverable
public JacksonAutoDiscoverable()
-
-
Method Details
-
configure
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 interfaceAutoDiscoverable
- Parameters:
context
- configurable context in which the auto-discoverable should be configured.
-