In which env (AS version) are you trying to run this?
In AS6_M4 there is a new scanning lib already present: http://java.dzone.com/articles/jboss-microcontainer-scanning
Perhaps it would be easier to use that.
Did you try debugging? As I don't see why your approach wouldn't work.