You might want to have a look at the eventadmin service from the
compendium spec.

regards,

Karl

On Thu, Jun 5, 2008 at 6:13 PM, dishmily <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>



-- 
Karl Pauls
[EMAIL PROTECTED]

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

Reply via email to