Top Fields Constructors Methods
com.fasterxml.jackson.module.afterburner

public Class AfterburnerModule

extends Module
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
com.fasterxml.jackson.core.Version, com.fasterxml.jackson.databind.Module, com.fasterxml.jackson.databind.util.NativeImageUtil, com.fasterxml.jackson.module.afterburner.ser.SerializerModifier, com.fasterxml.jackson.module.afterburner.deser.DeserializerModifier

Field Summary

Modifier and TypeField and Description
protected boolean
_cfgUseOptimizedBeanDeserializer

Flag to indicate whether we should use an optimized sub-class of com.fasterxml.jackson.databind.deser.BeanDeserializer or not.

protected boolean
_cfgUseValueClassLoader

Flag to indicate whether we will try to load generated classes using same class loader as one that loaded class being accessed or not.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getModuleName()

Implements abstract com.fasterxml.jackson.databind.Module.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

public void
setupModule(Module.SetupContext context)

Implements abstract com.fasterxml.jackson.databind.Module.setupModule.

Method called by ObjectMapper when module is registered.

public AfterburnerModule
public AfterburnerModule
setUseValueClassLoader(boolean state)

Flag to indicate whether we will try to load generated classes using same class loader as one that loaded class being accessed or not.

public Version
version()

Implements abstract com.fasterxml.jackson.databind.Module.version.

Implements com.fasterxml.jackson.core.Versioned.version.

Method that returns version of this module.

Inherited from com.fasterxml.jackson.databind.Module:
getDependenciesgetTypeId

Field Detail

_cfgUseOptimizedBeanDeserializerback to summary
protected boolean _cfgUseOptimizedBeanDeserializer

Flag to indicate whether we should use an optimized sub-class of com.fasterxml.jackson.databind.deser.BeanDeserializer or not. Use of optimized version should further improve performance, but it can be disabled in case it causes issues.

By default this feature is enabled.

_cfgUseValueClassLoaderback to summary
protected boolean _cfgUseValueClassLoader

Flag to indicate whether we will try to load generated classes using same class loader as one that loaded class being accessed or not. If not, we will use class loader that loaded this module. Benefit of using value class loader is that 'protected' and 'package access' properties can be accessed; otherwise only 'public' properties can be accessed.

By default this feature is enabled.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

AfterburnerModuleback to summary
public AfterburnerModule()

Method Detail

getModuleNameback to summary
public String getModuleName()

Implements abstract com.fasterxml.jackson.databind.Module.getModuleName.

Doc from com.fasterxml.jackson.databind.Module.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

Annotations
@Override
setupModuleback to summary
public void setupModule(Module.SetupContext context)

Implements abstract com.fasterxml.jackson.databind.Module.setupModule.

Doc from com.fasterxml.jackson.databind.Module.setupModule.

Method called by ObjectMapper when module is registered. It is called to let module register functionality it provides, using callback methods passed-in context object exposes.

Annotations
@Override
setUseOptimizedBeanDeserializerback to summary
public AfterburnerModule setUseOptimizedBeanDeserializer(boolean state)
setUseValueClassLoaderback to summary
public AfterburnerModule setUseValueClassLoader(boolean state)

Flag to indicate whether we will try to load generated classes using same class loader as one that loaded class being accessed or not. If not, we will use class loader that loaded this module. Benefit of using value class loader is that 'protected' and 'package access' properties can be accessed; otherwise only 'public' properties can be accessed.

By default this feature is enabled.

versionback to summary
public Version version()

Implements abstract com.fasterxml.jackson.databind.Module.version.

Implements com.fasterxml.jackson.core.Versioned.version.

Doc from com.fasterxml.jackson.databind.Module.version.

Method that returns version of this module. Can be used by Jackson for informational purposes.

Returns:Version

Doc from com.fasterxml.jackson.core.Versioned.version.

Version of the component

Annotations
@Override