Hi Dhiego,
that means that the class loader of the XStream bundle don't have
access to your Project2 class loader. You need to register a composed
class loader to XStream.
Have a look to this code:
Thanks Jodi!
Is the best approach to work with xstream? Can I just start xstream bundle?
I'm was trying to find some approach more 'automatic', like: a) embbed into
project1
Abs,
__
*Dhiego** **Abrantes** de Oliveira Martins*
*Computer Science, M.Sc. Candidate at UFPE*
www.dhiegoabrantes.com
Thanks Jordi!
Is the best approach to work with xstream? Can I just start xstream bundle?
I'm was trying to find some approach more 'automatic', like: a) embbed
xstream libs into project1; or just install xstream bundles in container to
project1 use it automatically;
The classloader solution is
Hello,
I am implementing a bit of code with Apache Felix and in a specific code
block, I register multiple services, all with the same non-default service
ranking.
I read the registering services part of the OSGi 4.3 specifications, and
it seems to suggest that implementations will copy the
Hi,
I've got some trouble while I was playing with Apache Aries Subsystem and
Felix 4.1.0-Snapshot. After further investigation, I was able to find out
that my instance of BundleRevision doesn't belong to the namespace
osgi.identity. So my question is: Are you still implementing the new
The classloader solution is a workaround?
I don't think it's a workaround. Because of the OSGi class loading
mechanism, there is a need to use the correct class loader when you
are unserializing your class instance. I don't known if there is a
better way to do this.
--
a10! i fins aviat.
On 1/24/13 06:42 , Christopher BROWN wrote:
Hello,
I am implementing a bit of code with Apache Felix and in a specific code
block, I register multiple services, all with the same non-default service
ranking.
I read the registering services part of the OSGi 4.3 specifications, and
it seems to
On 1/24/13 07:44 , Christian Berger wrote:
Hi,
I've got some trouble while I was playing with Apache Aries Subsystem and
Felix 4.1.0-Snapshot. After further investigation, I was able to find out
that my instance of BundleRevision doesn't belong to the namespace
osgi.identity. So my
Hi,
There seems to never have been a release of this bundle -- apparently nobody
ever needed it ... interesting...
So you can get it from the source repository and build it yourself. (Maybe it
is not update to date the recently added LOCATION_CHANGED event is missing.
Regards
Felix
Am
9 matches
Mail list logo