> From: Dennis Neumann <[email protected]> > To: List for general discussion and hacking of the Taverna project > > <[email protected]> > Subject: [Taverna-hackers] Beanshell ports
> Hi guys, Hello, > I'd like to dynamically read all the input port names of a beanshell > service from inside that same service and then get the corresponding > values (reflection-like). I know that the ports are mapped to > string/list variables with the same names, but is there a list or an > array that contains all the port names and values? I don't think there is at the moment. All the ports are mapped separately. The list of ports is kept within the beanshell service but not exposed within the beanshell script interpreter. It would not be difficult to do that but the implications might be troublesome. > The beanshell is > supposed to be easily extendable with new ports. If you added something into the list of ports (which doesn't exist) within the beanshell script, then they would not appear as ports of the service, unless something else was done. What is the problem you are trying to solve? A beanshell doesn't sound like a viable solution at the moment. > Regards, > Dennis Alan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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/
