Let's say I have component X that is a provider of service Y.
I also have component A that depends on service Y.
Now... component X is bundled in some block, while component A is bundled in another block. The two are deployed together using composition like:
<container>
<include name="block-x" id="block-x-impl" version="1.0"/>
<include name="block-a" id="block-a-impl" version="1.0"/>
</container>
Component X is started fine. When component A is started, when I attempt to do the lookup for service Y in the service() method of A, I'm getting a Class Cast exception b/c the lookup is returning a null object.
If I put the include block-x statement in the block.xml for block-a, then all works fine.
Am I missing something about having service dependencies in other blocks?
Thanks, Timothy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
