Module.SetupContext
限定符和类型 | 字段和说明 |
---|---|
protected AbstractTypeMaterializer |
_materializer
Configured materializer instance to register with deserializer factory.
|
构造器和说明 |
---|
MrBeanModule() |
MrBeanModule(AbstractTypeMaterializer materializer) |
限定符和类型 | 方法和说明 |
---|---|
String |
getModuleName()
Method that returns identifier for module; this can be used by Jackson
for informational purposes, as well as in associating extensions with
module that provides them.
|
void |
setupModule(Module.SetupContext context)
Method called by
ObjectMapper when module is registered. |
Version |
version()
Method that returns version of this module.
|
protected AbstractTypeMaterializer _materializer
public MrBeanModule()
public MrBeanModule(AbstractTypeMaterializer materializer)
public String getModuleName()
Module
getModuleName
在类中 Module
public Version version()
Module
public void setupModule(Module.SetupContext context)
Module
ObjectMapper
when module is registered.
It is called to let module register functionality it provides,
using callback methods passed-in context object exposes.setupModule
在类中 Module