No clue :(
I will have a look at https://github.com/deephacks/osgi-demo to learn
what you are actually trying to do and come back to your question.

Toni

2011/10/3 Kristoffer Sjögren <[email protected]>
>
> Yes, I got a confirmation mail and I can see the mails posted to it.
>
> 2011/10/3 Toni Menzel <[email protected]>:
> > Yep. Point is you probably get a reply from current active committers from
> > the google group also. Just strange thing with the old list. But you did
> > subscribe before and got a confirmation email ?
> >
> > 2011/10/3 Kristoffer Sjögren <[email protected]>
> >>
> >> I do not get a reply at all. Feels a bit strange?
> >>
> >> Managed to post on the google group earlier but Niclas adviced me to
> >> try this list for better chance of reply.
> >>
> >> Cheers,
> >> -Kristoffer
> >>
> >> 2011/10/3 Toni Menzel <[email protected]>:
> >> > Hi Kristoffer,
> >> >
> >> > What reply do you get when sending to the list ?
> >> > Actually, this is the "old" list. We currently have a google group
> >> > running
> >> > for OPS4J also (check https://groups.google.com/forum/#!forum/ops4j).
> >> > You
> >> > may just subscribe there.
> >> > Sorry for any inconvenience,
> >> > Toni
> >> > 2011/10/2 Kristoffer Sjögren <[email protected]>
> >> >>
> >> >> Hi Toni
> >> >>
> >> >> I have some trouble posting to [email protected] and wonder if
> >> >> you maybe can help out?
> >> >>
> >> >> Niclas recommended me to contact you, see below.
> >> >>
> >> >> Cheers,
> >> >> -Kristoffer
> >> >>
> >> >>
> >> >> ---------- Forwarded message ----------
> >> >> From: Niclas Hedhman <[email protected]>
> >> >> Date: 2011/10/2
> >> >> Subject: Re: ClassLoading question
> >> >> To: Kristoffer Sjögren <[email protected]>
> >> >>
> >> >>
> >> >> I am a bit tied up at the moment. Contact Toni Menzel for instance
> >> >> about status...
> >> >>
> >> >> 2011/10/2 Kristoffer Sjögren <[email protected]>:
> >> >> > Hi Niclas
> >> >> >
> >> >> > I have tried to post to the general mailing list twice now. Im not
> >> >> > sure, but there seem to be some problem with it?
> >> >> >
> >> >> > Cheers,
> >> >> > -Kristoffer
> >> >> >
> >> >> > 2011/10/1 Niclas Hedhman <[email protected]>:
> >> >> >> You will probably get better response if you mail to
> >> >> >> [email protected] instead, as I don't think the Google Groups
> >> >> >> is
> >> >> >> that well populated with people yet.
> >> >> >>
> >> >> >> -- Niclas
> >> >> >>
> >> >> >> 2011/9/29 Kristoffer Sjögren <[email protected]>:
> >> >> >>> Hi
> >> >> >>>
> >> >> >>> Im new to OSGi and have played around with Pax Exam for a short
> >> >> >>> while
> >> >> >>> now. Im trying to learn how to implement an annotation driven
> >> >> >>> framework using OSGi.
> >> >> >>>
> >> >> >>> So I have created this silly little application where I have an
> >> >> >>> api,
> >> >> >>> impl and client bundles. There is also an engine bundle that I want
> >> >> >>> to
> >> >> >>> use as the framework to handle instance creation and proxy
> >> >> >>> services.
> >> >> >>>
> >> >> >>> The engine have a SynchronousBundleListener that listen for new
> >> >> >>> bundles and look for classes with the "Impl" annotation - and
> >> >> >>> register
> >> >> >>> new service provider instances:
> >> >> >>>
> >> >> >>>
> >> >> >>> https://github.com/deephacks/osgi-demo/blob/master/engine/src/main/java/org/deephacks/osgi/engine/Activator.java.
> >> >> >>>
> >> >> >>> Two questions I havent managed to figure out:
> >> >> >>>
> >> >> >>> 1) I get a ClassCastException when casting the service and use it
> >> >> >>> as a
> >> >> >>> regular object with JUnit4TestRunner from my test class:
> >> >> >>>
> >> >> >>>
> >> >> >>> https://github.com/deephacks/osgi-demo/blob/master/client/src/test/java/org/deephacks/osgi/client/PaxTest.java.
> >> >> >>> This seems strange since the Shape class should be common for
> >> >> >>> client
> >> >> >>> and impl.
> >> >> >>>
> >> >> >>> 2) How do I inspect classes use the Reflection API from my
> >> >> >>> framework
> >> >> >>> that isnt suppose to know anything about the api or impl bundles?
> >> >> >>> The
> >> >> >>> only way I could get around this was using Strings like so:
> >> >> >>>
> >> >> >>> "org.deephacks.osgi.Impl".equals(annotation.annotationType().getName()
> >> >> >>> - i.e. loadedClass.isAnnotationPresent(Impl.class) resolves to
> >> >> >>> false.
> >> >> >>>
> >> >> >>> I have published the source code on github:
> >> >> >>> https://github.com/deephacks/osgi-demo
> >> >> >>>
> >> >> >>> Cheers,
> >> >> >>> -Kristoffer
> >> >> >>>
> >> >> >>> --
> >> >> >>> ------------------
> >> >> >>> OPS4J - http://www.ops4j.org - [email protected]
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Niclas Hedhman, Software Developer
> >> >> >> http://www.qi4j.org - New Energy for Java
> >> >> >>
> >> >> >> I live here; http://tinyurl.com/3xugrbk
> >> >> >> I work here; http://tinyurl.com/24svnvk
> >> >> >> I relax here; http://tinyurl.com/2cgsug
> >> >> >>
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Niclas Hedhman, Software Developer
> >> >> http://www.qi4j.org - New Energy for Java
> >> >>
> >> >> I live here; http://tinyurl.com/3xugrbk
> >> >> I work here; http://tinyurl.com/24svnvk
> >> >> I relax here; http://tinyurl.com/2cgsug
> >> >
> >> >
> >> >
> >> > --
> >> > Toni Menzel Source
> >> >
> >> >
> >
> >
> >
> > --
> > Toni Menzel Source
> >
> >



--
Toni Menzel Source

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to