Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This requirement came from a user, I am not clear what this means. Need to get some info from the spring documentation and from the user to understand the same.

To accomodate common beans/aspects used by different composites/components - TUSCANY-2162

The use case : service composites using components or composites as Spring beans. Those beans rely on other injected common beans or applied aspects.
We should not instantiate a new bean or aspect for every Spring component or composite if the beans and aspects are shared .
The Spring way would be to declare a parent context to accommodate the common beans / aspects.
The Spring SCA implementation specification says a new Spring context will be created for each composite. Unclear for component.
Can we enhance the specification in the sense of a parent application context ?