Class PostConstructCallback
- java.lang.Object
-
- org.eclipse.jetty.plus.annotation.LifeCycleCallback
-
- org.eclipse.jetty.plus.annotation.PostConstructCallback
-
public class PostConstructCallback extends LifeCycleCallback
PostConstructCallback
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.plus.annotation.LifeCycleCallback
__EMPTY_ARGS
-
-
Constructor Summary
Constructors Constructor Description PostConstructCallback(java.lang.Class<?> clazz, java.lang.String methodName)PostConstructCallback(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 Annotation Specification section 2.5 - no params - must be void return - no checked exceptions - cannot be static-
Methods inherited from class org.eclipse.jetty.plus.annotation.LifeCycleCallback
findMethod, getMethodName, getTarget, getTargetClass, getTargetClassName, hashCode
-
-
-
-
Constructor Detail
-
PostConstructCallback
public PostConstructCallback(java.lang.Class<?> clazz, java.lang.String methodName)- Parameters:
clazz- the class object to be injectedmethodName- the name of the method to be injected
-
PostConstructCallback
public PostConstructCallback(java.lang.String className, java.lang.String methodName)- Parameters:
className- the name of the class to be injectedmethodName- the name of the method to be injected
-
-
Method Detail
-
validate
public void validate(java.lang.Class<?> clazz, java.lang.reflect.Method method)Commons Annotation Specification section 2.5 - no params - must be void return - no checked exceptions - cannot be static- Specified by:
validatein classLifeCycleCallback- See Also:
LifeCycleCallback.validate(java.lang.Class, java.lang.reflect.Method)
-
callback
public void callback(java.lang.Object instance) throws java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException- Overrides:
callbackin classLifeCycleCallback- Throws:
java.lang.SecurityExceptionjava.lang.IllegalArgumentExceptionjava.lang.NoSuchMethodExceptionjava.lang.ClassNotFoundExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classLifeCycleCallback
-
-