/** Method afterPropertiesSet. Actions to perform after all properties are set. */
  @Override
  public void afterPropertiesSet() throws Exception {
    jacksonObjectMapperFactoryBean.afterPropertiesSet();

    if (characterEscapes != null) {
      for (CharacterEscapes escapes : characterEscapes) {
        jacksonObjectMapperFactoryBean.getObject().getFactory().setCharacterEscapes(escapes);
      }
    }

    if (mixInAnnotations != null) {
      jacksonObjectMapperFactoryBean.getObject().setMixInAnnotations(mixInAnnotations);
    }
  }
 /**
  * Shortcut for {@link com.fasterxml.jackson.databind.MapperFeature#AUTO_DETECT_SETTERS}/ {@link
  * com.fasterxml.jackson.databind.MapperFeature#AUTO_DETECT_GETTERS} option.
  */
 public void setAutoDetectGettersSetters(boolean autoDetectGettersSetters) {
   jacksonObjectMapperFactoryBean.setAutoDetectGettersSetters(autoDetectGettersSetters);
 }
 /**
  * Shortcut for {@link com.fasterxml.jackson.databind.MapperFeature#AUTO_DETECT_FIELDS} option.
  */
 public void setAutoDetectFields(boolean autoDetectFields) {
   jacksonObjectMapperFactoryBean.setAutoDetectFields(autoDetectFields);
 }
 /** Configure custom deserializers for the given types. */
 public void setDeserializersByType(Map<Class<?>, JsonDeserializer<?>> deserializers) {
   jacksonObjectMapperFactoryBean.setDeserializersByType(deserializers);
 }
 /**
  * Configure custom serializers. Each serializer is registered for the type returned by {@link
  * com.fasterxml.jackson.databind.JsonSerializer#handledType()}, which must not be {@code null}.
  *
  * @see #setSerializersByType(java.util.Map)
  */
 public void setSerializers(JsonSerializer<?>... serializers) {
   jacksonObjectMapperFactoryBean.setSerializers(serializers);
 }
 /**
  * Set the {@link com.fasterxml.jackson.databind.AnnotationIntrospector} for both serialization
  * and deserialization.
  */
 public void setAnnotationIntrospector(AnnotationIntrospector annotationIntrospector) {
   jacksonObjectMapperFactoryBean.setAnnotationIntrospector(annotationIntrospector);
 }
 /**
  * Define the date/time format with a {@link java.text.SimpleDateFormat}.
  *
  * @see #setDateFormat(java.text.DateFormat)
  */
 public void setSimpleDateFormat(String format) {
   jacksonObjectMapperFactoryBean.setSimpleDateFormat(format);
 }
 /**
  * Define the format for date/time with the given {@link java.text.DateFormat}.
  *
  * @see #setSimpleDateFormat(String)
  */
 public void setDateFormat(DateFormat dateFormat) {
   jacksonObjectMapperFactoryBean.setDateFormat(dateFormat);
 }
 /**
  * Set the ObjectMapper instance to use. If not set, the ObjectMapper will be created using its
  * default constructor.
  */
 public void setObjectMapper(ObjectMapper objectMapper) {
   jacksonObjectMapperFactoryBean.setObjectMapper(objectMapper);
 }
 @Override
 public boolean isSingleton() {
   return jacksonObjectMapperFactoryBean.isSingleton();
 }
 @Override
 public ObjectMapper getObject() throws Exception {
   return jacksonObjectMapperFactoryBean.getObject();
 }
 /**
  * Specify features to disable.
  *
  * @see com.fasterxml.jackson.databind.MapperFeature
  * @see com.fasterxml.jackson.databind.SerializationFeature
  * @see com.fasterxml.jackson.databind.DeserializationFeature
  * @see com.fasterxml.jackson.core.JsonParser.Feature
  * @see com.fasterxml.jackson.core.JsonGenerator.Feature
  */
 public void setFeaturesToDisable(Object... featuresToDisable) {
   jacksonObjectMapperFactoryBean.setFeaturesToDisable(featuresToDisable);
 }
 /**
  * Shortcut for {@link com.fasterxml.jackson.databind.SerializationFeature#INDENT_OUTPUT} option.
  */
 public void setIndentOutput(boolean indentOutput) {
   jacksonObjectMapperFactoryBean.setIndentOutput(indentOutput);
 }
 /**
  * Shortcut for {@link com.fasterxml.jackson.databind.SerializationFeature#FAIL_ON_EMPTY_BEANS}
  * option.
  */
 public void setFailOnEmptyBeans(boolean failOnEmptyBeans) {
   jacksonObjectMapperFactoryBean.setFailOnEmptyBeans(failOnEmptyBeans);
 }