You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Nikita Sawant <Ni...@Sun.COM> on 2009/06/12 01:41:55 UTC
Bundle.getBundleContext()
Hi,
I get this compiler error when I try to access Bundle.getBundleContext():
cannot find symbol
symbol : method getBundleContext()
location: interface org.osgi.framework.Bundle
I am using the latest Felix version 1.8.0. Any idea why the method is
missing in the interface?
Thanks,
Nikita
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Bundle.getBundleContext()
Posted by Nikita Sawant <Ni...@Sun.COM>.
That was the issue.
Thanks,
Nikita
Sahoo wrote:
> Check your compilation classpath. getBundleContext is a R4.1 API, so
> it is likely that you are compiling against R4 API.
>
> Sahoo
>
> Nikita Sawant wrote:
>> Hi,
>>
>> I get this compiler error when I try to access
>> Bundle.getBundleContext():
>>
>> cannot find symbol
>> symbol : method getBundleContext()
>> location: interface org.osgi.framework.Bundle
>>
>> I am using the latest Felix version 1.8.0. Any idea why the method is
>> missing in the interface?
>>
>> Thanks,
>> Nikita
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Bundle.getBundleContext()
Posted by Sahoo <Sa...@Sun.COM>.
Check your compilation classpath. getBundleContext is a R4.1 API, so it
is likely that you are compiling against R4 API.
Sahoo
Nikita Sawant wrote:
> Hi,
>
> I get this compiler error when I try to access Bundle.getBundleContext():
>
> cannot find symbol
> symbol : method getBundleContext()
> location: interface org.osgi.framework.Bundle
>
> I am using the latest Felix version 1.8.0. Any idea why the method is
> missing in the interface?
>
> Thanks,
> Nikita
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org