On Mon, Feb 22, 2010 at 4:21 AM, Richard S. Hall <[email protected]>wrote:

> On 2/22/10 5:21 PM, Mahammad Nasir wrote:
>
>> How can i call a method (in Activator class other than start,stop) in
>> container class of felix framework. Is service registration is the only
>> way??
>>
>>
>
> You can't even call the start()/stop() methods in the activator, only the
> framework can.
>
> If you want to interact with your bundle, then services are the only
> way...well, technically I guess you could use statics in its exported
> classes, but this probably isn't a good idea in general.
>

Sorry to interrupt.  But can you elaborate this:

>> "If you want to interact with your bundle, then services are the only
way."

What is the service here mean?

If I want to invoke a bundle inside the other bundle. Is that possible?

What I am trying to build is a "bundle workflow", in which I'd try to
compose several bundle together and invoke them one by one.

Thanks.

Leo.


>
> -> richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to