[EMAIL PROTECTED] wrote:
Hi Jean-Sebastien,

my implementation of Component A is annotated with
@Scope("COMPOSITE")
@AllowsPassByReference
@EagerInit

The referenced Component B is
Interface:
        @Remotable
Implementation:
        @Scope("COMPOSITE")
        @AllowsPassByReference

The referenced Component C is
Interface:
        @Remotable
        @Conversational
Implementation:
        @Scope("CONVERSATION")


I changed the order in the .composite file as you suggested, so that Component 
A is described at the end of the file.
I set breakpoints on the methods of Component A where the references to B and C 
are initialized. Despite of using @EagerInit they are not called during startup 
as expected, but only on the first method call on A.

Any ideas what might be wrong ?

Bye,
Daniel

I got @EagerInit working with implementation.java and SCADomain + SCANode in samples/calculator-lean, and samples/calculator-equinox in the sca-equinox branch.

From your other emails it looks like you're using implementation.osgi? this may be why you're seeing different behavior, and that could be a bug in implementation.osgi.

--
Jean-Sebastien

Reply via email to