Concept: Spring Bean Configuration
You can edit Spring bean properties on the
Beans
tab on the Assembly
Editor's Properties
view. Studio displays all of the assembly's beans on the left of the view beneath a top-level
beans
node. The properties associated with the
beans
node are global, affecting all beans in the
assembly.Various options display above the beans. Their availability depends on your selection in the
beans list. The options are:
Option | Description |
|---|---|
Create 'bean'
| Creates a Spring bean element in the assembly file. Select the
top-level beans node to make this option
available. |
Create 'alias'
| Creates an alias for a Spring bean element in the assembly file. Select
the top-level beans node to make this option
available. |
Create 'property'
| Creates a property element for the selected bean. |
Create 'constructor-arg'
| Creates a constructor-arg element for the selected
bean. |
Create 'ref'
| Creates a ref element, enabling other beans to
reference the selected property. |
Create 'list'
| Creates a list element for the selected property,
enabling you to define the properties of a List Java collection. |
Create 'map'
| Creates a map element for the selected property,
enabling you to define the properties of a Map Java collection. |
Create 'import'
| Creates a top-level import element within the
assembly's beans definition, enabling you to specify a resource file
containing one or more bean definitions. Select the top-level
beans to make this option available. |
Create 'value'
| Creates a nested value element within the selected
property definition, enabling you to specify the property as a
human-readable string. |