| org.apache.beehive.netui.pageflow.PageFlowControlContainer
All known Subclasses: org.apache.beehive.netui.pageflow.PageFlowControlContainerImpl,
PageFlowControlContainer | public interface PageFlowControlContainer (Code) | | |
beginContextOnPageFlow | void beginContextOnPageFlow(PageFlowManagedObject pfmo, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)(Code) | | This method will perform the beginContext() on any and all ControlContainerContext objects
that are managed by the page flow runtime. If you call this, you must call the
endContextOnPageFlow method is also called. The implementation may hold locks on the
control container and not calling the endContext may result in hangs and deadlocks.
Parameters: pfmo - Parameters: request - Parameters: response - Parameters: servletContext - |
createAndBeginControlBeanContext | void createAndBeginControlBeanContext(PageFlowManagedObject pfmo, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)(Code) | | This method will ensure that a page flow's ControlContainerContext exists, and
will make make sure that the begin context is called. Once this is called, you must insure that
the endContext method is called. This is typically called when a page flow instance is being created.
If a Control bean is created programmatically in a page flow using
java.beans.Beans.instantiate(ClassLoaderString) ,
without @Control annotations, you must call this method on the page flow object before
the bean is instantiated.
Parameters: pfmo - Parameters: request - Parameters: response - Parameters: servletContext - |
endContextOnPageFlow | void endContextOnPageFlow(PageFlowManagedObject flowController)(Code) | | This method will perform the endContext() on any and all ControlContainerContext objects
that are managed by the page flow runtime.
Parameters: flowController - |
getControlContainerContext | ControlContainerContext getControlContainerContext(PageFlowManagedObject pfmo)(Code) | | This will return the page flows ControlContainerContext . This call should be made after
either the createAndBeginControlBeanContext or beginContextOnPageFlow has
been called.
Parameters: pfmo - Returns the ControlContainerContext for the page flow. This may return null if the page flowcurrently doesn't have a ControlContainerContext context. |
|
|