public abstract class AnnotatedPropertyInterceptor extends java.lang.Object implements ActionInterceptor
Modifier and Type | Field and Description |
---|---|
protected TypeCache<PropertyDescriptor[]> |
annotatedProperties |
protected java.lang.Class<java.lang.annotation.Annotation> |
annotations |
protected static PropertyDescriptor[] |
EMPTY |
Modifier | Constructor and Description |
---|---|
protected |
AnnotatedPropertyInterceptor(java.lang.Class<java.lang.annotation.Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
intercept(ActionRequest actionRequest)
Intercepts action requests.
|
protected PropertyDescriptor[] |
lookupAnnotatedProperties(java.lang.Class type)
Lookups for annotated properties.
|
protected abstract void |
onAnnotatedProperty(ActionRequest actionRequest,
PropertyDescriptor propertyDescriptor)
Invoked on all annotated properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
init
protected final java.lang.Class<java.lang.annotation.Annotation> annotations
protected TypeCache<PropertyDescriptor[]> annotatedProperties
protected static final PropertyDescriptor[] EMPTY
protected AnnotatedPropertyInterceptor(java.lang.Class<java.lang.annotation.Annotation> annotations)
public java.lang.Object intercept(ActionRequest actionRequest) throws java.lang.Exception
ActionInterceptor
intercept
in interface ActionInterceptor
java.lang.Exception
protected abstract void onAnnotatedProperty(ActionRequest actionRequest, PropertyDescriptor propertyDescriptor)
protected PropertyDescriptor[] lookupAnnotatedProperties(java.lang.Class type)
Copyright © 2003-present Jodd Team