Package fish.payara.asadmin.recorder
Class AsadminRecorderService
- java.lang.Object
-
- fish.payara.asadmin.recorder.AsadminRecorderService
-
- All Implemented Interfaces:
EventListener
@Service(name="asadmin-recorder") @RunLevel(10) public class AsadminRecorderService extends Object implements EventListener
Service to record asadmin commands. This can be for both commands entered at the command line and for actions in the admin console.- Since:
- 4.1.1.162
- Author:
- Andrew Pielage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.api.event.EventListener
EventListener.Event<T>
-
-
Constructor Summary
Constructors Constructor Description AsadminRecorderService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
event(EventListener.Event event)
Process a Glassfish/Payara eventboolean
isEnabled()
Returns true is the asadmin recorder is enabledvoid
recordAsadminCommand(String commandName, ParameterMap parameters)
Records a given asadmin command
-
-
-
Method Detail
-
event
public void event(EventListener.Event event)
Description copied from interface:EventListener
Process a Glassfish/Payara event- Specified by:
event
in interfaceEventListener
-
isEnabled
public boolean isEnabled()
Returns true is the asadmin recorder is enabled- Returns:
-
recordAsadminCommand
public void recordAsadminCommand(String commandName, ParameterMap parameters)
Records a given asadmin command- Parameters:
commandName
- The name of the commandparameters
- A map of all of the parameters passed as oart of the command
-
-