Wei Tan wrote:
> Hi,
>
>    Is there a way to access the runtime workbench objects, in a 
> beanshell activity?
> Say, I want to get the CredentialManager instance and programmatically 
> get a credential from it, inside a beanshell.
>
>   Thanks,
>
> Wei
>
>   
Hi,

This was not really the planned behaviour, but if you add a dependency 
to your beanshell activity - then you can access anything you like. It 
probably would not be the same Credential Manager that Taverna is using, 
and I suppose this is what you want. I would strongly discourage this - 
if you need some functionality in Credential Manager that is not already 
there perhaps it would be better to add it to its API.

Cheers,
Alex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to