@Deprecated
    public void setJacksonConfigureListener(final JacksonConfigureListener jacksonConfigureListener) {
        if (jacksonObjectMapperFactory != null) {
            throw new IllegalStateException("Can't have both JacksonObjectMapperFactory and JacksonConfigureListener set. Please use only JacksonObjectMapperFactory.");
        }
        jacksonObjectMapperFactory = new DefaultJacksonObjectMapperFactory() {
            @Override public void configureObjectMapper(ObjectMapper objectMapper) {
                super.configureObjectMapper(objectMapper);
                jacksonConfigureListener.configureObjectMapper(objectMapper);
            }
        };
    }
@ Deprecated public void setJacksonConfigureListener ( final JacksonConfigureListener jacksonConfigureListener ) { if ( jacksonObjectMapperFactory != null ) { throw new IllegalStateException ( "Can't have both JacksonObjectMapperFactory and JacksonConfigureListener set. Please use only JacksonObjectMapperFactory." ) ; } jacksonObjectMapperFactory = new DefaultJacksonObjectMapperFactory ( ) { @ Override public void configureObjectMapper ( ObjectMapper objectMapper ) { super . configureObjectMapper ( objectMapper ) ; jacksonConfigureListener . configureObjectMapper ( objectMapper ) ; } } ; }
@deprecated use {@link #setJacksonObjectMapperFactory(JacksonObjectMapperFactory)} instead.
@see JacksonConfigureListener