|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPageFlowControlContainerImpl
public class PageFlowControlContainerImpl
This class provide a set of method that deal with the ControlContainerContext that is scoped to the FlowController.
Constructor Summary | |
---|---|
PageFlowControlContainerImpl()
|
Method Summary | |
---|---|
void |
beginContextOnPageFlow(PageFlowManagedObject pfmo,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
This method will preform the beginContext() on any and all ControlContainerContext objects
that are managed by the page flow runtime. |
void |
createAndBeginControlBeanContext(PageFlowManagedObject pfmo,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
This method will ensure that a page flow's ControlContainerContext exists, and
will make make sure that the begin context is called. |
void |
endContextOnPageFlow(PageFlowManagedObject flowController)
This method will preform the endContext() on any and all ControlContainerContext objects
that are managed by the page flow runtime. |
ControlContainerContext |
getControlContainerContext(PageFlowManagedObject pfmo)
This will return the page flows ControlContainerContext . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageFlowControlContainerImpl()
Method Detail |
---|
public ControlContainerContext getControlContainerContext(PageFlowManagedObject pfmo)
PageFlowControlContainer
ControlContainerContext
. This call should be made after
either the createAndBeginControlBeanContext
or beginContextOnPageFlow
has
been called.
getControlContainerContext
in interface PageFlowControlContainer
public void beginContextOnPageFlow(PageFlowManagedObject pfmo, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
PageFlowControlContainer
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.
beginContextOnPageFlow
in interface PageFlowControlContainer
public void createAndBeginControlBeanContext(PageFlowManagedObject pfmo, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
PageFlowControlContainer
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(ClassLoader, String)
,
without @Control
annotations, you must call this method on the page flow object before
the bean is instantiated.
createAndBeginControlBeanContext
in interface PageFlowControlContainer
public void endContextOnPageFlow(PageFlowManagedObject flowController)
PageFlowControlContainer
ControlContainerContext
objects
that are managed by the page flow runtime.
endContextOnPageFlow
in interface PageFlowControlContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |