Hi Alex, Thanks a lot. It seems that a beanshell will NOT share the same class-loading system managed by Raven in workbench. I decided to add a new plug-in activity instead, which does credential delegation so it needs credential manager. Best regards,
Wei Alexandra Nenadic wrote: > 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 > -- Wei Tan, Ph.D. Computation Institute the University of Chicago|Argonne National Laboratory http://www.mcs.anl.gov/~wtan ------------------------------------------------------------------------------ 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
