org.apache.openejb.util
Class IntrospectionSupport
java.lang.Object
org.apache.openejb.util.IntrospectionSupport
public class IntrospectionSupport
- extends Object
|
Method Summary |
protected static void |
appendToString(StringBuilder buffer,
Object value)
|
static Map |
extractProperties(Map props,
String optionPrefix)
|
static boolean |
getProperties(Object target,
Map<String,String> props,
String optionPrefix)
|
static Class |
getPropertyType(Class clazz,
String propertyName)
|
static boolean |
setProperties(Object target,
Map props)
|
static boolean |
setProperties(Object target,
Map props,
String optionPrefix)
|
static String |
simpleName(Class clazz)
|
static String |
toString(Object target)
|
static String |
toString(Object target,
Class stopClass)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntrospectionSupport
public IntrospectionSupport()
getProperties
public static boolean getProperties(Object target,
Map<String,String> props,
String optionPrefix)
setProperties
public static boolean setProperties(Object target,
Map props,
String optionPrefix)
extractProperties
public static Map extractProperties(Map props,
String optionPrefix)
setProperties
public static boolean setProperties(Object target,
Map props)
toString
public static String toString(Object target)
toString
public static String toString(Object target,
Class stopClass)
appendToString
protected static void appendToString(StringBuilder buffer,
Object value)
simpleName
public static String simpleName(Class clazz)
getPropertyType
public static Class getPropertyType(Class clazz,
String propertyName)
throws NoSuchFieldException
- Throws:
NoSuchFieldException
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.