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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.booleanisMergeableWith(Model model) Determine if the model is able to be merged into the current modelvoidMerge the model into the current modelvoidsetResource(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:ModelDetermine 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:ModelMerge the model into the current model- Parameters:
model- the model to merge with
-
createCopy
Description copied from interface:ModelCreate 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
-