Class BeanLifecycleCallbacks

    • Constructor Detail

      • BeanLifecycleCallbacks

        public BeanLifecycleCallbacks​(java.lang.Class<?> cls,
                                      java.lang.String method,
                                      boolean arg,
                                      java.lang.Class<?> type)
        Constructor. Make the callback on an instance of the given type.
        Parameters:
        arg - whether another argument is expected such as AfterDetach
      • BeanLifecycleCallbacks

        public BeanLifecycleCallbacks​(java.lang.Class<?> cls,
                                      java.lang.reflect.Method method,
                                      boolean arg)
        Constructor. Make the callback on an instance of the given type.
    • Method Detail

      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class MethodLifecycleCallbacks
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class MethodLifecycleCallbacks
        Throws:
        java.io.IOException