Class GetExampleServiceMessageCommand
- java.lang.Object
-
- fish.payara.service.example.config.admin.GetExampleServiceMessageCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="get-example-service-message") @PerLookup @ExecuteOn(DAS) public class GetExampleServiceMessageCommand extends Object implements AdminCommand
This is an exemplar command for displaying to the user the configuration as specified in the domain.xml In contrast to the equivalent set command this command only needs to run on the DAS and does not need to replicate itself to all nodes. This class is an example asadmin command for getting the configured message- Author:
- steve
-
-
Constructor Summary
Constructors Constructor Description GetExampleServiceMessageCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
This method is called when the command is executed
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
This method is called when the command is executed- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
-
-
-