We need to figure out how we can have code running inside a JBoss Modules environment use callbacks provided by their caller / environment.
Examples of two situations where we need this right now are:
- Download progress reporting by the CMR. For a command line tool we could just let the CMR spit out the information to the logger, but for integration in Eclipse we would need something else.
- Unit Tests in Eclipse. The test framework being run needs to be able to communicate what tests it found and what ti is doing right now and what the results of the tests are.
Assigning this to @alesj for now so he reads this and can leave feedback. (I've talked to him on IRC, but I think it's important to leave any information he can give documented here)