Class CachingMethodResolver

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy​(java.lang.Object application)  
      java.io.Serializable getId​(java.lang.reflect.Method method)
      Get the identifier for the given method.
      java.lang.reflect.Method getMethod​(java.lang.Class<?> owner, java.io.Serializable id)
      Get method by identifier.
      java.lang.reflect.Method getSetter​(java.lang.reflect.Method getter)
      Get a setter for the given method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachingMethodResolver

        public CachingMethodResolver​(IMethodResolver resolver)
    • Method Detail

      • destroy

        public void destroy​(java.lang.Object application)
      • getId

        public java.io.Serializable getId​(java.lang.reflect.Method method)
        Description copied from interface: IMethodResolver
        Get the identifier for the given method.
        Specified by:
        getId in interface IMethodResolver
        Parameters:
        method - method
        Returns:
        method identifier
      • getMethod

        public java.lang.reflect.Method getMethod​(java.lang.Class<?> owner,
                                                  java.io.Serializable id)
        Description copied from interface: IMethodResolver
        Get method by identifier.
        Specified by:
        getMethod in interface IMethodResolver
        Parameters:
        owner - the owning class
        id - method identifier
        Returns:
        method
      • getSetter

        public java.lang.reflect.Method getSetter​(java.lang.reflect.Method getter)
        Description copied from interface: IMethodResolver
        Get a setter for the given method.
        Specified by:
        getSetter in interface IMethodResolver
        Parameters:
        getter - the getter
        Returns:
        the setter