Re: How can I call Beanshell methods from Java?

"David A. Lee" <[email protected]> Wed, 15 Apr 2009 09:47:08 -0400
Newsgroups gmane.comp.java.beanshell.user
Message-ID <[email protected]>
http://www.beanshell.org/manual/quickstart.html#Calling_BeanShell_From_Your_Application




> How can I call a method scripted in Beanshell script (externally saved 
> file
> loaded in Java using Interpreter)?
>
> I wish to define a PDF file structure (using iText) in a beanshell script,
> in different methods, such as PDF Title, Table Header, Table Rows, Trailer
> and so on, and then call them as needed from my Java bean. This will
> basically allow me to define my PDF file structure externally in the
> beanshell script, but will allow me to plugin the data from my Java bean
> (more secure).
>
> Thank you
> Sid
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Beanshell-users mailing list
> Beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/beanshell-users
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com