类 CallbackHelper

  • 所有已实现的接口:
    CallbackFilter

    public abstract class CallbackHelper
    extends java.lang.Object
    implements CallbackFilter
    版本:
    $Id: CallbackHelper.java,v 1.2 2004/06/24 21:15:20 herbyderby Exp $
    • 构造器概要

      构造器 
      构造器 说明
      CallbackHelper​(java.lang.Class superclass, java.lang.Class[] interfaces)  
    • 方法概要

      所有方法 实例方法 抽象方法 具体方法 
      修饰符和类型 方法 说明
      int accept​(java.lang.reflect.Method method)
      Map a method to a callback.
      boolean equals​(java.lang.Object o)
      The CallbackFilter in use affects which cached class the Enhancer will use, so this is a reminder that you should correctly implement equals and hashCode for custom CallbackFilter implementations in order to improve performance.
      protected abstract java.lang.Object getCallback​(java.lang.reflect.Method method)  
      Callback[] getCallbacks()  
      java.lang.Class[] getCallbackTypes()  
      int hashCode()  
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CallbackHelper

        public CallbackHelper​(java.lang.Class superclass,
                              java.lang.Class[] interfaces)
    • 方法详细资料

      • getCallback

        protected abstract java.lang.Object getCallback​(java.lang.reflect.Method method)
      • getCallbacks

        public Callback[] getCallbacks()
      • getCallbackTypes

        public java.lang.Class[] getCallbackTypes()
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        从接口复制的说明: CallbackFilter
        The CallbackFilter in use affects which cached class the Enhancer will use, so this is a reminder that you should correctly implement equals and hashCode for custom CallbackFilter implementations in order to improve performance.
        指定者:
        equals 在接口中 CallbackFilter
        覆盖:
        equals 在类中 java.lang.Object