How to do a callback between two projects? <p>I am working in two java projects. The first supports OSGi components, second does not. The first depend to the second for logging.</p> <p>My need is to add a callback in the second project from the first to recover a variable to add in the log.</p>