-
May 26th, 2010, 09:39 AM
#1
How to set the class path in OSGi Container
Hi All,
I need to set the class path in System level using System.setProperty() in one bundle from other bundle where the class actually present.
For Example,
I have one bundle called test.jar, in that i have com.test.Test.class
In other bundle, i need to set the System property of Test.class like
System.setProperty("keys",Test.class.getName());
How we can set this in OSGi container, because in the runtime,class will be available in /root/springsource-dm-server-2.0.0.RELEASE/work/osgi/configuration/org.eclipse.osgi/bundles/38/data/store/org.eclipse.osgi/bundles/131/1/bundlefile/com/test/Test.class
Can anyone please help on this?
Regards,
Riyaz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules