org.apache.commons.beanutils
Class MappedPropertyDescriptor.MappedMethodReference
java.lang.Object
org.apache.commons.beanutils.MappedPropertyDescriptor.MappedMethodReference
- Enclosing class:
- MappedPropertyDescriptor
private static class MappedPropertyDescriptor.MappedMethodReference
- extends java.lang.Object
Holds a Method
in a SoftReference
so that it
it doesn't prevent any ClassLoader being garbage collected, but
tries to re-create the method if the method reference has been
released.
See http://issues.apache.org/jira/browse/BEANUTILS-291
Method Summary |
private java.lang.reflect.Method |
get()
|
private java.lang.Class |
reLoadClass()
Try to re-load the class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
private java.lang.String className
methodName
private java.lang.String methodName
methodRef
private java.lang.ref.Reference methodRef
classRef
private java.lang.ref.Reference classRef
writeParamTypeRef
private java.lang.ref.Reference writeParamTypeRef
MappedPropertyDescriptor.MappedMethodReference
MappedPropertyDescriptor.MappedMethodReference(java.lang.reflect.Method m)
get
private java.lang.reflect.Method get()
reLoadClass
private java.lang.Class reLoadClass()
- Try to re-load the class
Copyright (c) 2000-2008 - Apache Software Foundation