Class BeanImportModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.BeanImportModel
- All Implemented Interfaces:
Model
Model support for bean imports.
Imports user-defined beans defined at a resource location. These beans become part of the flow's bean factory and are resolvable using flow expressions.
- Author:
- Scott Andrews
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
setResource
(String resource)
-
Constructor Details
-
BeanImportModel
Create a bean import model- Parameters:
resource
- the resource containing beans to import
-
-
Method Details
-
isMergeableWith
Description copied from interface:Model
Determine if the model is able to be merged into the current model- Parameters:
model
- the model to compare- Returns:
- true if able to merge
-
merge
Description copied from interface:Model
Merge the model into the current model- Parameters:
model
- the model to merge with
-
createCopy
Description copied from interface:Model
Create a deep copy of this model. Needed when merging models and collections.- Returns:
- a deep copy of this model
-
getResource
- Returns:
- the resource
-
setResource
- Parameters:
resource
- the resource to set
-