public class BeanImportModel extends AbstractModel
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.
Constructor and Description |
---|
BeanImportModel(java.lang.String resource)
Create a bean import model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.lang.String |
getResource() |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model
|
void |
merge(Model model)
Merge the model into the current model
|
void |
setResource(java.lang.String resource) |
public BeanImportModel(java.lang.String resource)
resource
- the resource containing beans to importpublic boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource
- the resource to set