jodd.madvoc.interceptor
Class ServletConfigInterceptor
java.lang.Object
jodd.madvoc.interceptor.ActionInterceptor
jodd.madvoc.interceptor.ServletConfigInterceptor
public class ServletConfigInterceptor
- extends ActionInterceptor
Configures actions and applies some servlet configuration prior action execution.
This interceptor does the following:
- uses multi-part request if needed
- performs the injection (using either default or specified injector)
- invokes the action
- performs the outjection.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
madvocConfig
@In(scope=CONTEXT)
protected MadvocConfig madvocConfig
contextInjector
@In(scope=CONTEXT)
protected ContextInjector contextInjector
requestScopeInjector
protected RequestScopeInjector requestScopeInjector
sessionScopeInjector
protected SessionScopeInjector sessionScopeInjector
applicationScopeInjector
protected ApplicationScopeInjector applicationScopeInjector
madvocContextScopeInjector
protected MadvocContextScopeInjector madvocContextScopeInjector
servletContextScopeInjector
protected ServletContextScopeInjector servletContextScopeInjector
actionPathMacroInjector
protected ActionPathMacroInjector actionPathMacroInjector
ServletConfigInterceptor
public ServletConfigInterceptor()
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
inject
protected void inject(ActionRequest actionRequest)
- Performs injection.
outject
protected void outject(ActionRequest actionRequest)
- Performs outjection.
Copyright © 2003-2012 Jodd Team