Ok just to alleviate any confusion, I can't confirm that Felix SCR
requires factory components to be immediate, but Equinox definitely
doesn't like it. Nonetheless I am still unable to get Factory
components to register with Felix SCR, although it appears to be
implemented according to this issue:

https://issues.apache.org/jira/browse/FELIX-259

This is a critical showstopper for me right now, so if anyone has any
ideas about why this would work do let me know.

regards,
ben

ps. I am using the latest build from the maven snapshot repository:

org.apache.felix.scr-0.9.0-incubator-20070515.104418-2.jar


On 5/19/07, Ben Fortuna <[EMAIL PROTECTED]> wrote:
Hi all,

I am currently developing OSGi bundles in eclipse and using the
Equinox runtime (PDE) environment for debugging, whilst for deployment
I am bundling with Felix. This seems to work ok so far, although I've
run into a problem where Equinox and Felix seems to have taken
opposing sides on an issue.

It appears that for declarative services' factory components, Felix
requires that the component be specified as immediate
(immediate="true"). However, for Equinox it appears that specifying a
factory component as immediate is invalid.

I haven't gone back to the spec to find out which is correct yet, but
just thought I'd check if someone can verify that my understanding of
the Felix declarative services implementation (SCR) is correct. Anyone
else gone down this path yet?

regards,
ben



--
xmpp:[EMAIL PROTECTED]
http://blogs.modularity.net.au/thenextbigthing

"Sometimes, doing nothing is a strategy. Don't worry about the future.
It will unfold." - Bill Rachinger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to