Class MappedPropertyDescriptor.MappedMethodReference

java.lang.Object
org.apache.commons.beanutils.MappedPropertyDescriptor.MappedMethodReference
Enclosing class:
MappedPropertyDescriptor

private static class MappedPropertyDescriptor.MappedMethodReference extends 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
  • Field Details

  • Constructor Details

    • MappedMethodReference

      MappedMethodReference(Method m)
  • Method Details

    • get

      private Method get()
    • reLoadClass

      private Class<?> reLoadClass()
      Try to re-load the class
    • reLoadClass

      private Class<?> reLoadClass(String name)
      Try to re-load the class