|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.portlet.context.PortletApplicationObjectSupport
org.springframework.web.portlet.handler.PortletContentGenerator
org.springframework.webflow.mvc.portlet.FlowHandlerAdapter
public class FlowHandlerAdapter
A custom MVC HandlerAdapter that encapsulates the generic workflow associated with executing flows in a Portlet
environment. Delegates to mapped flow handlers to manage the interaction with executions of
specific flow definitions.
| Constructor Summary | |
|---|---|
FlowHandlerAdapter()
Creates a new flow handler adapter. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
FlowExecutor |
getFlowExecutor()
Returns the central service for executing flows. |
FlowUrlHandler |
getFlowUrlHandler()
Returns the flow url handler. |
void |
handleAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Object handler)
|
void |
handleEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
Object handler)
|
org.springframework.web.portlet.ModelAndView |
handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler)
|
org.springframework.web.portlet.ModelAndView |
handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler)
|
void |
setFlowExecutor(FlowExecutor flowExecutor)
Sets the central service for executing flows. |
void |
setFlowUrlHandler(FlowUrlHandler urlHandler)
Sets the flow url handler |
boolean |
supports(Object handler)
|
| Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator |
|---|
getCacheSeconds, isRequireSession, setCacheSeconds, setRequireSession |
| Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport |
|---|
setPortletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
getApplicationContext, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowHandlerAdapter()
setFlowExecutor(FlowExecutor),
setFlowUrlHandler(FlowUrlHandler),
afterPropertiesSet()| Method Detail |
|---|
public FlowExecutor getFlowExecutor()
public void setFlowExecutor(FlowExecutor flowExecutor)
flowExecutor - public FlowUrlHandler getFlowUrlHandler()
public void setFlowUrlHandler(FlowUrlHandler urlHandler)
urlHandler - the flow url handler
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean supports(Object handler)
supports in interface org.springframework.web.portlet.HandlerAdapter
public org.springframework.web.portlet.ModelAndView handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler)
throws Exception
handleRender in interface org.springframework.web.portlet.HandlerAdapterException
public void handleAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Object handler)
throws Exception
handleAction in interface org.springframework.web.portlet.HandlerAdapterException
public void handleEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
Object handler)
handleEvent in interface org.springframework.web.portlet.HandlerAdapter
public org.springframework.web.portlet.ModelAndView handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler)
handleResource in interface org.springframework.web.portlet.HandlerAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||