Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about component-scan support for @listener classes to be wrapped in mbassador. #6

Open
bwzhang2011 opened this issue Aug 11, 2014 · 3 comments

Comments

@bwzhang2011
Copy link

I think it's better or good idea to add componet-scan support for multiple @Listener classes to be registed in mbassador. as it's not convenient to use subscribe method to make them integrated manually.(just check that as the guava event with spring did, please refer to https://github.com/armsargis/guava-eventbus-spring)

@bennidi
Copy link
Owner

bennidi commented Aug 11, 2014

I know about this integration project. But thanks for pointing this out. I definitely agree. I just don't have enough time to take care of that. @arne-vandamme might be working on something related to this issue

@arne-vandamme
Copy link

I might pick this one up a couple of weeks from now again, but my own requirements for component scanning as such are limited... so it's not high on my priority list either :/ A simple beanpostprocessor that simply picks up all instantiated @Listener beans is the only wip for now (https://github.com/arne-vandamme/mbassador-spring/blob/mbassador-spring4/src/main/java/org/mbassy/spring/ListenerBeanPostProcessor.java - tested on spring 4).

@bwzhang2011
Copy link
Author

thanks for feedback. I will take a look at it and hope such features could be integrated into mbassador-spring project and also put it into practice more convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants