public class AbstractFacesFlowConfiguration
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
@Configuration
classes to configure
Spring Web Flow in JSF applications.
Provides protected method access to builders for one (or more) of the following:
Also registers a HandlerMapping bean to provide JSF 2 resource handling at
"/javax.faces.resource/**"
or Rich Faces at "/rfRes/**"
.
Constructor and Description |
---|
AbstractFacesFlowConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected FlowBuilderServicesBuilder |
getFlowBuilderServicesBuilder()
Return a builder for creating a
FlowBuilderServices instance. |
protected FlowDefinitionRegistryBuilder |
getFlowDefinitionRegistryBuilder()
Return a builder for creating a
FlowDefinitionRegistry instance. |
protected FlowDefinitionRegistryBuilder |
getFlowDefinitionRegistryBuilder(FlowBuilderServices flowBuilderServices)
Return a builder for creating a
FlowDefinitionRegistry instance. |
protected FlowExecutorBuilder |
getFlowExecutorBuilder(FlowDefinitionLocator flowRegistry)
Return a builder for creating a
FlowExecutor instance. |
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter |
httpRequestHandlerAdapter() |
JsfResourceRequestHandler |
jsfResourceRequestHandler() |
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping |
jsrResourceHandlerMapping() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public org.springframework.context.ApplicationContext getApplicationContext()
protected FlowExecutorBuilder getFlowExecutorBuilder(FlowDefinitionLocator flowRegistry)
FlowExecutor
instance.flowRegistry
- the FlowDefinitionRegistry
to configure on the flow executorprotected FlowDefinitionRegistryBuilder getFlowDefinitionRegistryBuilder()
FlowDefinitionRegistry
instance.protected FlowDefinitionRegistryBuilder getFlowDefinitionRegistryBuilder(FlowBuilderServices flowBuilderServices)
FlowDefinitionRegistry
instance.flowBuilderServices
- the FlowBuilderServices
to configure on the flow registry withprotected FlowBuilderServicesBuilder getFlowBuilderServicesBuilder()
FlowBuilderServices
instance.@Bean public org.springframework.web.servlet.handler.SimpleUrlHandlerMapping jsrResourceHandlerMapping()
@Bean public JsfResourceRequestHandler jsfResourceRequestHandler()
@Bean public org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter httpRequestHandlerAdapter()