@Service(name="asadmin-recorder") @RunLevel(value=10) public class AsadminRecorderService extends Object implements EventListener
EventListener.Event<T>
Constructor and Description |
---|
AsadminRecorderService() |
Modifier and Type | Method and Description |
---|---|
void |
event(EventListener.Event event)
Process a Glassfish/Payara event
|
boolean |
isEnabled()
Returns true is the asadmin recorder is enabled
|
void |
recordAsadminCommand(String commandName,
ParameterMap parameters)
Records a given asadmin command
|
public void event(EventListener.Event event)
EventListener
event
in interface EventListener
public boolean isEnabled()
public void recordAsadminCommand(String commandName, ParameterMap parameters)
commandName
- The name of the commandparameters
- A map of all of the parameters passed as oart of the commandCopyright © 2021. All rights reserved.