org.ow2.jonas.cdi.weld.internal.jsp
Class WeldJspFactory
java.lang.Object
javax.servlet.jsp.JspFactory
org.ow2.jonas.cdi.weld.internal.jsp.ForwardingJspFactory
org.ow2.jonas.cdi.weld.internal.jsp.WeldJspFactory
public class WeldJspFactory
- extends ForwardingJspFactory
A WeldJspFactory
is ...
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeldJspFactory
public WeldJspFactory(JspFactory delegate)
delegate
protected JspFactory delegate()
- Specified by:
delegate
in class ForwardingJspFactory
getJspApplicationContext
public JspApplicationContext getJspApplicationContext(ServletContext servletContext)
- Encapsulate default
JspApplicationContext
in a BeanManager-aware
JspApplicationContext (if the application is CDI-ready).
- Overrides:
getJspApplicationContext
in class ForwardingJspFactory
- Parameters:
servletContext
- Stores the WebApplication's BeanManager
- Returns:
- a wrapped
JspApplicationContext
or the default JspApplicationContext
if application is not CDI-ready.
Copyright © 2012 OW2 Consortium. All Rights Reserved.