org.apache.activemq.util
Class IntrospectionSupport

java.lang.Object
  extended by org.apache.activemq.util.IntrospectionSupport

public final class IntrospectionSupport
extends Object


Method Summary
protected static void appendToString(StringBuffer buffer, Object key, Object value)
           
static String convertToString(Object value, Class to)
           
static Map<String,Object> extractProperties(Map props, String optionPrefix)
           
static boolean getProperties(Object target, Map props, String optionPrefix)
           
static boolean setProperties(Object target, Map props)
           
static boolean setProperties(Object target, Map<String,?> props, String optionPrefix)
           
static boolean setProperty(Object target, String name, Object value)
           
static String simpleName(Class clazz)
           
static String toString(Object target)
           
static String toString(Object target, Class stopClass)
           
static String toString(Object target, Class stopClass, Map<String,Object> overrideFields)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperties

public static boolean getProperties(Object target,
                                    Map props,
                                    String optionPrefix)

setProperties

public static boolean setProperties(Object target,
                                    Map<String,?> props,
                                    String optionPrefix)

extractProperties

public static Map<String,Object> extractProperties(Map props,
                                                   String optionPrefix)

setProperties

public static boolean setProperties(Object target,
                                    Map props)

setProperty

public static boolean setProperty(Object target,
                                  String name,
                                  Object value)

convertToString

public static String convertToString(Object value,
                                     Class to)

toString

public static String toString(Object target)

toString

public static String toString(Object target,
                              Class stopClass)

toString

public static String toString(Object target,
                              Class stopClass,
                              Map<String,Object> overrideFields)

appendToString

protected static void appendToString(StringBuffer buffer,
                                     Object key,
                                     Object value)

simpleName

public static String simpleName(Class clazz)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.