jodd.madvoc.interceptor
Class IdRequestInjectorInterceptor
java.lang.Object
jodd.madvoc.interceptor.ActionInterceptor
jodd.madvoc.interceptor.IdRequestInjectorInterceptor
- Direct Known Subclasses:
- PrepareAndIdInjectorInterceptor
public class IdRequestInjectorInterceptor
- extends ActionInterceptor
Injects only ID request attributes and parameters that ends with '.id'.
- See Also:
PrepareAndIdInjectorInterceptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ATTR_NAME_ID_SUFFIX
protected static final java.lang.String ATTR_NAME_ID_SUFFIX
- See Also:
- Constant Field Values
madvocConfig
@In(scope=CONTEXT)
protected MadvocConfig madvocConfig
requestInjector
protected RequestScopeInjector requestInjector
IdRequestInjectorInterceptor
public IdRequestInjectorInterceptor()
init
public void init()
- Description copied from class:
ActionInterceptor
- Invoked on interceptor initialization.
- Overrides:
init in class ActionInterceptor
intercept
public java.lang.Object intercept(ActionRequest actionRequest)
throws java.lang.Exception
- Intercepts action requests.
- Specified by:
intercept in class ActionInterceptor
- Throws:
java.lang.Exception
injectIdsFromRequest
protected void injectIdsFromRequest(ActionRequest actionRequest)
- Injects IDs from request. Invoked before action request is invoked.
Copyright © 2003-2010 Jodd Team