jodd.madvoc.component
Class ContextInjector
java.lang.Object
jodd.madvoc.component.ContextInjector
public class ContextInjector
- extends java.lang.Object
Set of injectors that can values from various 'global' scopes.
They can be used for interceptors
and results, too.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
madpc
@PetiteInject
protected PetiteContainer madpc
applicationScopeInjector
protected ApplicationScopeInjector applicationScopeInjector
madvocContextScopeInjector
protected MadvocContextScopeInjector madvocContextScopeInjector
servletContextScopeInjector
protected ServletContextScopeInjector servletContextScopeInjector
ContextInjector
public ContextInjector()
getApplicationScopeInjector
public ApplicationScopeInjector getApplicationScopeInjector()
getMadvocContextScopeInjector
public MadvocContextScopeInjector getMadvocContextScopeInjector()
getServletContextScopeInjector
public ServletContextScopeInjector getServletContextScopeInjector()
injectContext
public void injectContext(java.lang.Object target,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
- Performs default context injection.
injectContext
public void injectContext(java.lang.Object target,
javax.servlet.ServletContext servletContext)
- Performs context injection when only servlet context is available. Should be called for all
global instances (such as interceptors).
Copyright © 2003-2010 Jodd Team