This content has been marked as final.
Show 3 replies
-
1. Re: Improving bean shell script / JMX integration
dimitris Feb 27, 2006 3:45 AM (in response to genman)I've experimented a bit with supporting multiple scripting languages in an mbean (using BSF) here http://wiki.jboss.org/wiki/Wiki.jsp?page=ScriptingListener
If I remember, a problem is to find out, in a portable way, what are the implemented methods/attributes in a script. -
2. Re: Improving bean shell script / JMX integration
genman Feb 27, 2006 11:24 AM (in response to genman)
I guess that'd be mostly a problem with the framework you're using.
If you're using BeanShell, you can get the declared variables and methods fairly easily by calling Interpreter.getNamespace. -
3. Re: Improving bean shell script / JMX integration
starksm64 Feb 27, 2006 11:48 AM (in response to genman)"genman" wrote:
http://jira.jboss.com/jira/browse/JBAS-2862
I was wondering if anybody had any thoughts or concerns. I rather like the idea of being able to do this:
Yes, this is mixing the SARDeployer and BeanShell deployer in the same descriptor and is a mess. Such a change should be done as an extension to the SARDeployer deployer.