
com.ebay.jetstream.management.JsonResourceFormatter Maven / Gradle / Ivy
/*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*******************************************************************************/
package com.ebay.jetstream.management;
/**
* @author trobison
*/
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig.Feature;
import org.springframework.jmx.export.annotation.ManagedResource;
import org.springframework.util.ClassUtils;
import com.ebay.jetstream.xmlser.XMLSerializationManager;
public class JsonResourceFormatter extends AbstractResourceFormatter {
private final static ThreadLocal> m_refJson = new ThreadLocal>();
JsonResourceFormatter() {
super("json");
}
@Override
protected void beginFormat() {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy