Re: Static methods in services

2007-07-10 Thread Marcel Offermans
On Jul 10, 2007, at 15:53 , Richard S. Hall wrote: David Lindelöf wrote: If for instance the bundle is updated, will the client classes "see" the updated methods? I admit this is a bit beyond my understanding of Java classloading... Yes, just a library bundle. Client bundles will not see

Re: Static methods in services

2007-07-10 Thread Richard S. Hall
David Lindelöf wrote: On Thu, 2007-07-05 at 15:15 -0400, Richard S. Hall wrote: If you have a class with static methods that you want to share, just create a bundle that exports the package containing that class. Client bundles simply need to import that package and they can use the static

Re: Static methods in services

2007-07-10 Thread David Lindelöf
On Thu, 2007-07-05 at 15:15 -0400, Richard S. Hall wrote: > If you have a class with static methods that you want to share, just > create a bundle that exports the package containing that class. Client > bundles simply need to import that package and they can use the static > methods like they n

Re: Static methods in services

2007-07-05 Thread Richard S. Hall
I am not sure I totally understand the issue. If you have a class with static methods that you want to share, just create a bundle that exports the package containing that class. Client bundles simply need to import that package and they can use the static methods like they normally would. I

Static methods in services

2007-07-05 Thread David Lindelöf
Dear Felix users, Is there a way to register a service object whose class has static methods? (In such a way that those methods become available to other bundles in the framework?) Let's consider as an example a Java implementation of numerical routines, which are often implemented as static func