Class KryoAutoDiscoverable
java.lang.Object
org.glassfish.jersey.kryo.internal.KryoAutoDiscoverable
- All Implemented Interfaces:
- org.glassfish.jersey.internal.spi.AutoDiscoverable
@Priority(2000)
public class KryoAutoDiscoverable
extends Object
implements org.glassfish.jersey.internal.spi.AutoDiscoverable
AutoDiscoverable registering KryoFeature if the feature is not already registered.- Author:
- Libor Kramolis
- 
Field SummaryFields inherited from interface org.glassfish.jersey.internal.spi.AutoDiscoverableDEFAULT_PRIORITY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigure(FeatureContext context) A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
- 
Constructor Details- 
KryoAutoDiscoverablepublic KryoAutoDiscoverable()
 
- 
- 
Method Details- 
configureDescription copied from interface:org.glassfish.jersey.internal.spi.AutoDiscoverableA 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:
- configurein interface- org.glassfish.jersey.internal.spi.AutoDiscoverable
- Parameters:
- context- configurable context in which the auto-discoverable should be configured.
 
 
-