Class PreDestroyCallback
- java.lang.Object
-
- org.eclipse.jetty.plus.annotation.LifeCycleCallback
-
- org.eclipse.jetty.plus.annotation.PreDestroyCallback
-
public class PreDestroyCallback extends LifeCycleCallback
PreDestroyCallback
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.plus.annotation.LifeCycleCallback
__EMPTY_ARGS
-
-
Constructor Summary
Constructors Constructor Description PreDestroyCallback(java.lang.Class<?> clazz, java.lang.String methodName)PreDestroyCallback(java.lang.String className, java.lang.String methodName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallback(java.lang.Object instance)booleanequals(java.lang.Object o)voidvalidate(java.lang.Class<?> clazz, java.lang.reflect.Method method)Commons Annotations Specification section 2.6: - no params to method - returns void - no checked exceptions - not static-
Methods inherited from class org.eclipse.jetty.plus.annotation.LifeCycleCallback
findMethod, getMethodName, getTarget, getTargetClass, getTargetClassName, hashCode
-
-
-
-
Constructor Detail
-
PreDestroyCallback
public PreDestroyCallback(java.lang.Class<?> clazz, java.lang.String methodName)- Parameters:
clazz- the class object to be injectedmethodName- the name of the method to inject
-
PreDestroyCallback
public PreDestroyCallback(java.lang.String className, java.lang.String methodName)- Parameters:
className- the name of the class to injectmethodName- the name of the method to inject
-
-
Method Detail
-
validate
public void validate(java.lang.Class<?> clazz, java.lang.reflect.Method method)Commons Annotations Specification section 2.6: - no params to method - returns void - no checked exceptions - not static- Specified by:
validatein classLifeCycleCallback- See Also:
LifeCycleCallback.validate(java.lang.Class, java.lang.reflect.Method)
-
callback
public void callback(java.lang.Object instance)
- Overrides:
callbackin classLifeCycleCallback
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classLifeCycleCallback
-
-