it is clear that we can register Bundle A to OSGI Service Registry and let
Bundle B request Bundle A through OSGI Service Registry,then Bundle B can
use Functionality of Bundle A. 

the problem is: if there are too many Bundles need to use Functionality of
Bundle A, the OSGI Service Registry will be many times requestet. it seems
not a good way. so i would like to let Bundle B just receive information
from Bundle A. something like:

public class BundleB {

 ...

   public void receive(MsgfromBundleA msgtxt){
 
         System.out.println(msgtxt);

          }
  
}

can anyone give me any tips to do this?  thanks!
-- 
View this message in context: 
http://www.nabble.com/how-can-Bundle-B-%22receive%22-information-from-Bundle-A---tp17673814p17673814.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to