Support for class-based AOP in step classes in Spring

Description

When I add @EnableAspectJAutoProxy in my spring setup, with the bundled steps factory, my step beans can't be found.

I've done my own steps factory... it assumes the use of a specific type annotation on the step classes, to make it more clear which beans to explore, but that can be removed in a more general case.

Here it's how it looks like (WIP):

In my case it seems to work. I assume that, by returning the underlying target type in the stepTypes() method and not the proxy type, the matching logic of JBehave should work out of the box...

Do you foresee any problem with this kind of approach? if no, I can try a pull-request ...

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created September 3, 2014 at 9:58 AM
Updated September 5, 2014 at 9:14 PM
Resolved September 5, 2014 at 9:14 PM