public class JsonComponentModule extends com.fasterxml.jackson.databind.module.SimpleModule implements BeanFactoryAware
Module
to register @JsonComponent
annotated beans.JsonComponent
,
Serialized FormConstructor and Description |
---|
JsonComponentModule() |
Modifier and Type | Method and Description |
---|---|
void |
registerJsonComponents() |
void |
setBeanFactory(BeanFactory beanFactory) |
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, version
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
@PostConstruct public void registerJsonComponents()