On Mon, Apr 11, 2011 at 11:34, Alan R Williams <[email protected]> wrote:
> You could create your own type of ExternalReferenceSPI and then run
> Taverna in memory. That should cope with any issues of the port depth.
> Depending upon how you have done the caching, you might be able to use
> the FileReference.

Subclassing ExternalReferenceSPI would be the 'expected' way to do
such a new type of reference. As an example, look at the
VMObjectRefence used by the API consumer to be able to pass live Java
objects in the workflow.

http://taverna.googlecode.com/svn/taverna/engine/net.sf.taverna.t2.core.reference-core-extensions/branches/reference-core-extensions-1.2/src/main/java/net/sf/taverna/t2/reference/impl/external/object/VMObjectReference.java

I'm not suggesting you should use VMObjectReference as it would simply
store the real data in memory (in which case you could just as well
have used the in-memory mode of Taverna) - but you could likely model
your reference on this - the advantage would be that you could pass
your 'magic UUIDs' to services from other plugins, and they would
receive the full string value rather than just the UUID, I guess in
your current set-up you would need to add an additional uuid-to-string
shim to the workflow.


I'm not sure what Alan means with this solving your issues with port
depth, though, as any ExternalReferenceSPI represents a particular
data item and is always at depth 0.


-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to