/** * Constructor. Make the callback on an instance of the given type. * * @arg whether another argument is expected such as AfterDetach */ public BeanLifecycleCallbacks(Class<?> cls, String method, boolean arg, Class<?> type) { this(cls, getMethod(cls, method, arg ? new Class[]{ Object.class, type } : new Class[]{ type }), arg); }
/** * Constructor. Make the callback on an instance of the given type. * * @arg whether another argunent is expected such as AfterDetach */ public BeanLifecycleCallbacks(Class cls, String method, boolean arg, Class type) { this(cls, getMethod(cls, method, arg ? new Class[]{ Object.class, type } : new Class[]{ type }), arg); }
/** * Constructor. Make the callback on an instance of the given type. * * @param arg whether another argument is expected such as AfterDetach */ public BeanLifecycleCallbacks(Class<?> cls, String method, boolean arg, Class<?> type) { this(cls, getMethod(cls, method, arg ? new Class[]{ Object.class, type } : new Class[]{ type }), arg); }
/** * Constructor. Make the callback on an instance of the given type. * * @param arg whether another argument is expected such as AfterDetach */ public BeanLifecycleCallbacks(Class<?> cls, String method, boolean arg, Class<?> type) { this(cls, getMethod(cls, method, arg ? new Class[]{ Object.class, type } : new Class[]{ type }), arg); }
/** * Constructor. Make the callback on an instance of the given type. * * @arg whether another argument is expected such as AfterDetach */ public BeanLifecycleCallbacks(Class<?> cls, String method, boolean arg, Class<?> type) { this(cls, getMethod(cls, method, arg ? new Class[]{ Object.class, type } : new Class[]{ type }), arg); }