This is definitely excellent news and should provide a good jump start
for a complete DS impl, thanks a lot for getting this going.
We need to start thinking about how we want to hook into the
framework...I will start burning some cycles on that.
-> richard
Humberto Cervantes wrote:
Hello everyone,
I wanted to let everyone know that I committed an initial, but
incomplete version of the Service Component runtime for Felix. This
runtime is derived from the Service Binder's code. At this point, the
runtime parses the Declarative Service's descriptor and is capable of
creating immediate and delayed components (factories are not yet
supported though).
Since we have not decided on a hook for Felix to get bundle contexts,
to use it you must specify a generic activator for your bundle
activator, but it is no longer necessary to create a subclass as it
was done with the ServiceBinder. You simply need to put the following
Bundle-Activator entry in the manifest:
Bundle-Activator: org.apache.felix.scr.GenericActivator
This will change in the future once we get the framework hook figured
out.
You can find under the root directory a file named 'todolist.txt'
which lists the main aspects which haven't been implemented yet.
Please be aware that this is a very preliminary version that still
needs a lot of improvement and testing. Any contributions from others
are certainly welcome.
Humberto