public class Hibernate4Module
extends com.fasterxml.jackson.databind.Module
| Modifier and Type | Class and Description |
|---|---|
static class |
Hibernate4Module.Feature
Enumeration that defines all toggleable features this module
|
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.engine.spi.Mapping |
_mapping
Hibernate mapping.
|
protected int |
_moduleFeatures
Bit flag composed of bits that indicate which
Hibernate4Module.Features
are enabled. |
protected org.hibernate.SessionFactory |
_sessionFactory |
protected static int |
DEFAULT_FEATURES |
| Constructor and Description |
|---|
Hibernate4Module() |
Hibernate4Module(org.hibernate.engine.spi.Mapping mapping) |
Hibernate4Module(org.hibernate.engine.spi.Mapping mapping,
org.hibernate.SessionFactory sessionFactory) |
Hibernate4Module(org.hibernate.SessionFactory sessionFactory) |
| 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.Features
are enabled.protected final org.hibernate.engine.spi.Mapping _mapping
protected final org.hibernate.SessionFactory _sessionFactory
public Hibernate4Module()
public Hibernate4Module(org.hibernate.engine.spi.Mapping mapping)
public Hibernate4Module(org.hibernate.SessionFactory sessionFactory)
public Hibernate4Module(org.hibernate.engine.spi.Mapping mapping,
org.hibernate.SessionFactory sessionFactory)
public String getModuleName()
getModuleName in class com.fasterxml.jackson.databind.Modulepublic com.fasterxml.jackson.core.Version version()
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.Modulepublic void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
setupModule in class com.fasterxml.jackson.databind.Moduleprotected 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 © 2017 FasterXML. All rights reserved.