Class GenericProjectionAwareDeserializerModule
java.lang.Object
com.fasterxml.jackson.databind.Module
com.broadleafcommerce.common.extension.mapping.GenericProjectionAwareDeserializerModule
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned
public class GenericProjectionAwareDeserializerModule
extends com.fasterxml.jackson.databind.Module
Jackson deserializer module capable of matching against specific variations of
Projection
based on the generic parameterized type. The specific, generically typed version of the
Projection class is supplied here in the form of a JavaType
instance. Also, to work, the
parameter type should be registered with TypeFactory.addReference(Class, Class)
.- Author:
- Jeff Fischer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.Module
com.fasterxml.jackson.databind.Module.SetupContext
-
Constructor Summary
ConstructorDescriptionGenericProjectionAwareDeserializerModule
(com.fasterxml.jackson.databind.JavaType projectionType, TypeFactory typeFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setupModule
(com.fasterxml.jackson.databind.Module.SetupContext context) com.fasterxml.jackson.core.Version
version()
Methods inherited from class com.fasterxml.jackson.databind.Module
getDependencies
-
Constructor Details
-
GenericProjectionAwareDeserializerModule
public GenericProjectionAwareDeserializerModule(com.fasterxml.jackson.databind.JavaType projectionType, TypeFactory typeFactory)
-
-
Method Details
-
getModuleName
- Specified by:
getModuleName
in classcom.fasterxml.jackson.databind.Module
-
version
public com.fasterxml.jackson.core.Version version()- Specified by:
version
in interfacecom.fasterxml.jackson.core.Versioned
- Specified by:
version
in classcom.fasterxml.jackson.databind.Module
-
setupModule
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) - Specified by:
setupModule
in classcom.fasterxml.jackson.databind.Module
-
getTypeId
- Overrides:
getTypeId
in classcom.fasterxml.jackson.databind.Module
-