On Mon, Mar 2, 2009 at 13:11, Jerzy Orlowski <[email protected]> wrote:
> Can one one activity type (like > net.sf.taverna.t2.activities.wsdl.WSDLActivity) have more than one > ConfigBean classes (like > net.sf.taverna.t2.activities.wsdl.WSDLActivityConfigurationBean1 and > net.sf.taverna.t2.activities.wsdl.WSDLActivityConfigurationBean2)? It is an idea we've been talking about to support extensions for activities, each bean would then contribute "bits" of the configuration. This is not done in code at the moment, but might be nice for supporting "additional" configuration such as grid/security parameters. The idea then was that given a collection of configuration beans you would need to find matching activity implementation that can handle them all - to pick up an implementation that supports your extension. If we go back to the current, real, code, an activity typically has one and only one class of configuration beans. This follows normal Java rules, though, so you could in theory have sub-classed configuration beans. Also some of the activities expose their configuration directly as an XML Element instead - of course there could be several activities using Element configuration (BioMart I believe is one of them) - but they would typically have different XML structures inside the Element. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ taverna-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-hackers Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
