public class Hibernate4Module
extends com.fasterxml.jackson.databind.Module
Modifier and Type | Class and Description |
---|---|
static class |
Hibernate4Module.Feature
Enumeration that defines all togglable features this module
|
Modifier and Type | Field and Description |
---|---|
protected int |
_moduleFeatures
Bit flag composed of bits that indicate which
Hibernate4Module.Feature s
are enabled. |
protected static int |
DEFAULT_FEATURES |
Constructor and Description |
---|
Hibernate4Module() |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
annotationIntrospector()
Method called during
setupModule(com.fasterxml.jackson.databind.Module.SetupContext) , to create AnnotationIntrospector
to register along with module. |
Hibernate4Module |
configure(Hibernate4Module.Feature f,
boolean state) |
Hibernate4Module |
disable(Hibernate4Module.Feature f) |
Hibernate4Module |
enable(Hibernate4Module.Feature f) |
String |
getModuleName() |
boolean |
isEnabled(Hibernate4Module.Feature f) |
void |
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) |
com.fasterxml.jackson.core.Version |
version() |
protected static final int DEFAULT_FEATURES
protected int _moduleFeatures
Hibernate4Module.Feature
s
are enabled.public String getModuleName()
getModuleName
in class com.fasterxml.jackson.databind.Module
public com.fasterxml.jackson.core.Version version()
version
in interface com.fasterxml.jackson.core.Versioned
version
in class com.fasterxml.jackson.databind.Module
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
setupModule
in class com.fasterxml.jackson.databind.Module
protected com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector()
setupModule(com.fasterxml.jackson.databind.Module.SetupContext)
, to create AnnotationIntrospector
to register along with module. If null is returned, no introspector is added.public Hibernate4Module enable(Hibernate4Module.Feature f)
public Hibernate4Module disable(Hibernate4Module.Feature f)
public final boolean isEnabled(Hibernate4Module.Feature f)
public Hibernate4Module configure(Hibernate4Module.Feature f, boolean state)
Copyright © 2012-2013 FasterXML. All Rights Reserved.