|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.common.util.ReflectionUtil
public final class ReflectionUtil
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getPackagesFromJar(java.io.File jarFile)
|
static java.beans.PropertyDescriptor[] |
getPropertyDescriptorsAvoidSunBug(java.lang.Class<?> refClass,
java.beans.BeanInfo beanInfo,
java.lang.Class<?> beanClass,
java.beans.PropertyDescriptor[] propertyDescriptors)
create own array of property descriptors to: |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.lang.String> getPackagesFromJar(java.io.File jarFile)
throws java.io.IOException
java.io.IOException
public static java.beans.PropertyDescriptor[] getPropertyDescriptorsAvoidSunBug(java.lang.Class<?> refClass,
java.beans.BeanInfo beanInfo,
java.lang.Class<?> beanClass,
java.beans.PropertyDescriptor[] propertyDescriptors)
- prevent memory leaks by Introspector's cache
- get correct type for generic properties from superclass
that are limited to a specific type in beanClass
see http://bugs.sun.com/view_bug.do?bug_id=6528714
we cannot use BeanUtils.getPropertyDescriptors because of issue SPR-6063
refClass - calling class for class loading.beanInfo - Bean in questionbeanClass - class for bean in questionpropertyDescriptors - raw descriptors
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||