Package org.glassfish.admin.monitor.cli
Class Monitor
- java.lang.Object
-
- org.glassfish.admin.monitor.cli.Monitor
-
- All Implemented Interfaces:
AdminCommand
@Service(name="monitor") @PerLookup public class Monitor extends Object implements AdminCommand
Return the version and build number- Author:
- Prashanth Abbagani
-
-
Constructor Summary
Constructors Constructor Description Monitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-