[
https://issues.apache.org/jira/browse/TUSCANY-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Giorgio Zoppi updated TUSCANY-1907:
-----------------------------------
Attachment: contribution-updater.zip
This is my last work in dynamic wiring. Now I should be able to add a
component, remove a component, add a dynamically generated reference in java
implementation to a component, i.e: <reference name="generatedname"
target="mycomponent"/>.
I created a so called Contribution Updater. This is mainly a factory, which
create two items:
* a compositeUpdater - from which you can add/remove a component inside a
component.
* a componentUpdater - from which you can add/remove a simple reference (still
needs some debug).
This work was due to have the possibility to add/remove worker component in my
workpool application.
The workpool application is made up of : a manager worker component for each
node, a manager workpool for all the application, which it has inside a
"JDrools instance" to correlate "events" (load, failure, service time). This
rule-engine gets a rules from web services and now it can add worker component
o remove it when an even will happen.
Thanks to all for you help.
> Dynamic Wiring: Adding a new component to a contribution
> ---------------------------------------------------------
>
> Key: TUSCANY-1907
> URL: https://issues.apache.org/jira/browse/TUSCANY-1907
> Project: Tuscany
> Issue Type: New Feature
> Reporter: Giorgio Zoppi
> Fix For: Java-SCA-Next
>
> Attachments: contribution-updater.zip, editedpatch.txt, mypatch.txt
>
>
> My second patch is a working patch. Now with this patch you're able to add a
> new component to a composition in a contribution.
> I provided a new component processor in artifacts' processor registry and
> modified parts of ConfigureBuilderImpl, WireBuilderImpl to adapt to a single
> component. I still modified ActivatorComponentImpl for the same reason. So
> you can inside a SCANodeImpl configure and start a new component, subclassing
> a MetaComponent interface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]