org.ow2.jonas.cdi.weld.internal.jsp
Class WeldJspFactory

java.lang.Object
  extended by javax.servlet.jsp.JspFactory
      extended by org.ow2.jonas.cdi.weld.internal.jsp.ForwardingJspFactory
          extended by org.ow2.jonas.cdi.weld.internal.jsp.WeldJspFactory

public class WeldJspFactory
extends ForwardingJspFactory

A WeldJspFactory is ...

Author:
Guillaume Sauthier

Constructor Summary
WeldJspFactory(JspFactory delegate)
           
 
Method Summary
protected  JspFactory delegate()
           
 JspApplicationContext getJspApplicationContext(ServletContext servletContext)
          Encapsulate default JspApplicationContext in a BeanManager-aware JspApplicationContext (if the application is CDI-ready).
 
Methods inherited from class org.ow2.jonas.cdi.weld.internal.jsp.ForwardingJspFactory
getEngineInfo, getPageContext, releasePageContext
 
Methods inherited from class javax.servlet.jsp.JspFactory
getDefaultFactory, setDefaultFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeldJspFactory

public WeldJspFactory(JspFactory delegate)
Method Detail

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.