[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] can't use the classes methods of a generated bundle from a jar
|
Hi, methods are protected so if I like to include them in a fragment:
I create a fragment but I don't know should I attach it to the bundle (A)
generated from a jar (which has not an Activator)..or should it be attached
to the bundle (A) (that needs the to load methods from (B) )
thanks
Thomas Watson wrote:
>
>
> Are the methods package private? Package private method are only
> accessible by other classes in the same package which are loaded by the
> same class loader. This means the classes must be included in the same
> bundle or in fragments of the bundle in order to be loaded by the same
> class loader.
>
> If that is not the case then I think more details are needed to figure out
> what is wrong.
>
> Tom
>
>
>
>
> |------------>
> | From: |
> |------------>
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |prof_trg <prof.target@xxxxxxxxx>
> |
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | To: |
> |------------>
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |equinox-dev@xxxxxxxxxxx
> |
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Date: |
> |------------>
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |04/19/2009 06:22 AM
> |
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Subject: |
> |------------>
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
> |[equinox-dev] can't use the classes methods of a generated bundle from
> a jar
> |
>
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
>
>
> Hello all,
> I have some issues with generating osgi bundle from a jar, in fact after
> the
> generation , and after adding the dependency to my application, I am able
> to
> import classes of the bundle, but I can't use the methods of any class,
> they
> are not understanding! so why?
> thank you for clarifying me!
> --
> View this message in context:
> http://www.nabble.com/can%27t-use-the-classes-methods-of-a-generated-bundle-from-a-jar-tp23121953p23121953.html
>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
--
View this message in context: http://www.nabble.com/can%27t-use-the-classes-methods-of-a-generated-bundle-from-a-jar-tp23121953p23123840.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.