There is something in the assembly spec for this (WiredByImpl) but
it didn't make it into the Java language binding.
Do you need to dynamically rewire a reference that was previously
statically wired in the SCDL, or would you be OK with being able
to wire (and rewire) a reference that was described as WiredByImpl
in the SCDL?
Simon
Giorgio Zoppi wrote:
Hi,
I need to add/remove dynamically a reference to another component. For
example i've configured a component MyComponentA in a node:
public class MyComponentA implements ComponentA
{
private OtherService serviceA;
@Reference
public void seOtherService(OtherService wService) {
this.serviceA= wService;
}
}
Where have I to look in the code to add another OtherService reference
dynamically? Has it just implemented the possibility to add a dynamic
reference inside a component at run-time?
My workpool sample is ready and actually it works with integers. I'm
testing Job mapping in OMElement. I issue a JIRA with attached my
workpool sample with integers.
Cheers,
Giorgio.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]