Example: Collect arguments for the AdminControl object
- An example of how to obtain an MBean follows:
Jacl:
set am [$AdminControl queryNames type=ApplicationManager,process=server1,*] ### There are multiple ways to invoke arguments that have spaces $AdminControl invoke $am startApplication {"JavaMail Sample"} $AdminControl invoke $am startApplication {{JavaMail Sample}} $AdminControl invoke $am startApplication "\"JavaMail Sample\""am = AdminControl.queryNames('type=ApplicationManager,process=server1,*') ### There are multiple ways to invoke arguments that have spaces AdminControl.invoke(am, 'startApplication', '[JavaMail Sample]') AdminControl.invoke(am, 'startApplication', '\"JavaMail Sample\"')