Carl F. Hall wrote:
Something else we just noticed with the docs annotations, if metatype is
not specified, it defaults to false (docs are correct) but the description in
the docs is misleading. It appears to have been copied from the JavaDoc bit.
Also, what caused the default to be
Can someone shed a ray of light on when exactly a bundle's classloader is
(supposedly) made eligible for GC? I'm working with native code and while
it is not required to re- or unload my bundle, it would be nice to have a
better grasp of potential lifecycle issues.
Right now felix (on Windows)
There is no well defined time.
A class loader is garbage collected just like any other object. I.e. when there
are no direct strong references to it. Objects refer to their reflective Class
objects. And each Class object refers to the ClassLoader that *defined* it from
raw bytes.
When you
Hi Felix users,
I'm trying to use the OBR service in an application, which embeds felix.
This is what I'm doing:
1. Start the framework in the host application:
private void startOsgiFramework() {
// Create a case-insensitive configuration property map.
MapString, Object
As with everything, stuff can only be garbage collected when there are
no more references to it. Native is referenced from a ClassLoader.
ClassLoaders are referenced from Classes. Classes are referenced from
instances. So, you cannot have any references to any of these things
from a bundle,
Hi,
another question from an osgi beginner. How does your development
environment look like? I'm currently using eclipse and the maven bundle
plugin. My project is devided in several bundles / maven modules. Now,
if I'm working on a bundle and want to test it, I have to run maven and
afterwards
Did you read about embedding Felix in here:
http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html
It talks about this very issue in Using Services Provided by Bundles...
- richard
On 8/14/09 11:28, Henrik Niehaus wrote:
Hi Felix users,
I'm trying to use the
Richard: Thanks for the link. I actually didn't find this page before.
I'm wondering if it is accessible through the felix home page, because I
was looking for an example like this clicking all the links under
documentation...
P.S.: I didn't subscribe to the list, so I didn't get your answer and
On 8/14/09 14:04, Henrik Niehaus wrote:
Richard: Thanks for the link. I actually didn't find this page before.
I'm wondering if it is accessible through the felix home page, because I
was looking for an example like this clicking all the links under
documentation...
One thing I've been using a lot lately is the sling Maven plugin,
specifically the install goal. I bind this to the Maven install phase.
This allows me to start up Felix with the Web Console running and simply
run 'mvn install' (or the corresponding menu item in Eclipse) and get my
project built
Richard S. Hall schrieb:
On 8/14/09 14:04, Henrik Niehaus wrote:
Richard: Thanks for the link. I actually didn't find this page before.
I'm wondering if it is accessible through the felix home page, because I
was looking for an example like this clicking all the links under
documentation...
11 matches
Mail list logo