List attributes for running objects

 

  1. Specify a running object.

  2. Display the attributes of the running object...

    Using Jacl

    $Help attributes MBeanObjectName
    

    Using Jython

    Help.attributes(MBeanObjectName)
    

  3. Find out the operations supported by the MBean...

    Using Jacl

    $Help operations MBeanObjectname
    

    or

    $Help operations MBeanObjectname operationName
    

    Using 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 $xserver

Using Jython

xserver = AdminControl.completeObjectName('type=Server,name=server,*')
Help.operations(xserver)

 

Display detailed information about the stop operation

Using Jacl

$Help operations $server stop

Using Jython

Help.operations(server, 'stop')