Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » org.eclipselabs.osgi.ds.annotations
org.eclipselabs.osgi.ds.annotations [message #549187] Mon, 26 July 2010 00:12 Go to next message
Eclipse UserFriend
Originally posted by: carsten.schipke.gmail.com

Hi,


i spent friday night hacking around in the org.eclipse.equinox.ds
bundle. my target was to replace the current xml descriptor by an
annotation parser. result of this night can be viewed here:

http://code.google.com/a/eclipselabs.org/p/org-eclipselabs-o sgi-ds-annotations/

currently, there is no download available, since i am not familiar with
the process of contributing extensions for existing projects - without
hurting rules or similar.


so first of all i wanted to collect following information:

1. is there anybody who is interested into this project?

2. do i need to provide a project proposal?

3. would this be implemented into the org.eclipse.equinox.ds bundle
directly (like my current hack)?

4. i prefer a separate extension bundle. But as far as i can see, this
would require the implementation of proper extension points?
can i implement / contribute the code myself or will this be done by the
related project team?



best regards....
Re: org.eclipselabs.osgi.ds.annotations [message #549497 is a reply to message #549187] Mon, 26 July 2010 21:01 Go to previous messageGo to next message
Bruce Kelly is currently offline Bruce KellyFriend
Messages: 63
Registered: July 2009
Member
There has been a previous attempt at using annotations:

http://max-server.myftp.org/trac/pm/wiki/a4ds

Dealing with annotations becomes rather complex when there is an inheritance
hierarchy for the service component class.

Namaste, Bruce
Re: org.eclipselabs.osgi.ds.annotations [message #549508 is a reply to message #549497] Mon, 26 July 2010 22:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: carsten.schipke.gmail.com

Bruce Kelly schrieb:
> There has been a previous attempt at using annotations:
>
> http://max-server.myftp.org/trac/pm/wiki/a4ds
>
> Dealing with annotations becomes rather complex when there is an inheritance
> hierarchy for the service component class.
>
> Namaste, Bruce
>
>

Hi,

this project generates XML files by using an annotation parser as
eclipse builder. my project moves the xml completely out and parses the
annotations at runtime.

if you see the future plans described on my project site, inheritance
also should be no big deal if you can optionally specify the provided
services instead of parsing them automatically by included interfaces.
If i didnt get you, please send me more details about the possible problems.


Best regards!
Re: org.eclipselabs.osgi.ds.annotations [message #549768 is a reply to message #549508] Tue, 27 July 2010 21:12 Go to previous message
Bruce Kelly is currently offline Bruce KellyFriend
Messages: 63
Registered: July 2009
Member
"Carsten Schipke" <carsten.schipke@gmail.com> wrote in message
news:i2l3s7$1gq$1@build.eclipse.org...
> if you see the future plans described on my project site, inheritance also
> should be no big deal if you can optionally specify the provided services
> instead of parsing them automatically by included interfaces.
> If i didnt get you, please send me more details about the possible
> problems.

I only briefly read your web page and didn't pick up that you were not going
to use XML files.
I agree that inheritance is unlikely to be a problem if you are doing it at
runtime.

In our situation the @Service annotation would definately be required as the
service component classes implement interfaces that should not be provided
as services.

The target attribute is also one that we use quite a lot to identify service
instances.

I would prefer to always use the manifest entry, rather than searching.

Namaste, Bruce
Previous Topic:p2 self-update failed
Next Topic:How to customise p2 auto-updater?
Goto Forum:
  


Current Time: Thu Apr 25 08:47:15 GMT 2024

Powered by FUDForum. Page generated in 0.02481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top