| java.lang.Object org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer
FacesContainer | public class FacesContainer (Code) | | FacesContainer provides a "mock" web/servlet container environment for hosting the design of a
JSF application
author: Robert Brewin, Carl Quinn, Tor Norbye author: Winston Prakash - Modifications to support JSF 1.2 version: 1.0 |
DISABLE_RESET_APPLICATION_MAP | protected static boolean DISABLE_RESET_APPLICATION_MAP(Code) | | |
FacesContainer | public FacesContainer(ClassLoader cl, boolean isPortletContainer)(Code) | | Constructor for the FacesContainer. Only one such object will exist at any given
time for a project. Perform the initialization of the mock runtime container (server) as well
as any state variables required
|
beginRender | public synchronized void beginRender(DesignContext lc, UIViewRoot viewRoot, ResponseWriter responseWriter)(Code) | | Prepare our contexts to render UIComponent(s) from a given DesignContext, and return a usable
writer.
Parameters: lc - Parameters: frag - Parameters: uiform - |
destroy | public synchronized void destroy()(Code) | | Destroy this environment, clearing out references to other resources
|
endRender | public synchronized void endRender(ResponseWriter responseWriter)(Code) | | Finish up a component rendering run.
Parameters: rw - |
getFacesContext | public RaveFacesContext getFacesContext()(Code) | | the 'mock' FacesContext instance, making sure it is 'current' first |
initialize | public synchronized void initialize(ClassLoader cl)(Code) | | Initilize or reinitialize this environment with a new class loader
Parameters: cl - |
isComponentRendersChildren | public synchronized boolean isComponentRendersChildren(UIComponent comp)(Code) | | |
isPortletContainer | public boolean isPortletContainer()(Code) | | Return whether this container is a portlet container. If false, it's a servlet container.
True iff this container is a portlet container |
newViewRoot | public synchronized UIViewRoot newViewRoot()(Code) | | |
setClassLoader | public synchronized void setClassLoader(ClassLoader loader)(Code) | | Set the ClassLoader associated with this container
Parameters: loader - The ClassLoader to be used for loading resources |
|
|