Class CallbackHelper

  • All Implemented Interfaces:
    CallbackFilter

    public abstract class CallbackHelper
    extends Object
    implements CallbackFilter
    Version:
    $Id: CallbackHelper.java,v 1.2 2004/06/24 21:15:20 herbyderby Exp $
    • Constructor Detail

      • CallbackHelper

        public CallbackHelper​(Class superclass,
                              Class[] interfaces)
    • Method Detail

      • getCallback

        protected abstract Object getCallback​(Method method)
      • getCallbacks

        public Callback[] getCallbacks()
      • getCallbackTypes

        public Class[] getCallbackTypes()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object o)
        Description copied from interface: 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.
        Specified by:
        equals in interface CallbackFilter
        Overrides:
        equals in class Object