Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-740
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Louis Emmett
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Allow injection of Spring-Wired Compass Event Listeners

Created: 14/Oct/08 07:56 AM   Updated: 14/Oct/08 07:56 AM
Component/s: Compass::Spring
Affects Version/s: 2.1.0 M4
Fix Version/s: None

 Description  « Hide
Currently the support allows configuration of event listeners using the compass.setting registration style.
This is fine, but it would be more convenient in a spring-managed environment to allow injection of event listeners into the LocalCompassBean.
Without that, it requires the use of static variables to bootstrap/get access to the enclosing spring environment.

Also, an extension to the <compass:compass> schema would be very welcome, for example as below
<compass:preSaveListener ref="mybean"/>

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.