List attributes for running objects
- Specify a running object.
- Display the attributes of the running object...
Using Jacl
$Help attributes MBeanObjectNameUsing Jython
Help.attributes(MBeanObjectName)- Find out the operations supported by the MBean...
Using Jacl
$Help operations MBeanObjectnameor
$Help operations MBeanObjectname operationNameUsing Jython
Help.operations(MBeanObjectname)or
Help.operations(MBeanObjectname, operationName)If you do not provide the operationName, all operations supported by the MBean return with the signature for each operation. If you specify operationName, only the operation that you specify returns and it contains details which include the input parameters and the return value.
Display the operations for the server MBean
Using Jacl
set xserver [$AdminControl completeObjectName type=Server,name=server,*] $Help operations $xserverUsing Jython
xserver = AdminControl.completeObjectName('type=Server,name=server,*') Help.operations(xserver)
Display detailed information about the stop operation
Using Jacl
$Help operations $server stopUsing Jython
Help.operations(server, 'stop')