In previous blog if you have noticed that I have used cmo.setConsoleEnabled(true) in WLST offline mode.
What is cmo ?
cmo is WLST inbuilt variable which stands for Current Management Object. We can use cmo to point to current MBean instance. cmo value changes when we navigate to different hierarchy of MBeans under Weblogic MBean Tree except JNDI Tree.
Once we are connected to WLST , we can use cmo for various operation like get , set , invoke on management object.
This variable is available in all hierarchy except custom and jndi.
CMO value is current WLST Path. Each time we change directory WLST change path.