Package org.glassfish.deployment.admin
Class ListComponentsCommand
- java.lang.Object
-
- org.glassfish.deployment.admin.ListComponentsCommand
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.AccessCheckProvider
- Direct Known Subclasses:
ListApplicationsCommand
@Service(name="list-components") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) @TargetType({DOMAIN,DAS,STANDALONE_INSTANCE,CLUSTER,DEPLOYMENT_GROUP}) public class ListComponentsCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
list-components command
-
-
Constructor Summary
Constructors Constructor Description ListComponentsCommand()
-
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 valuesCollection<? extends AccessRequired.AccessCheck>getAccessChecks()Returns theAccessChecks the command has computed at runtime which should be included in the authorization, added to checks that secure admin infers from the command's CRUD or RestEndpoint characteristics orAccessRequiredannotations.
-
-
-
Method Detail
-
getAccessChecks
public Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
Description copied from interface:AdminCommandSecurity.AccessCheckProviderReturns theAccessChecks the command has computed at runtime which should be included in the authorization, added to checks that secure admin infers from the command's CRUD or RestEndpoint characteristics orAccessRequiredannotations.- Specified by:
getAccessChecksin interfaceAdminCommandSecurity.AccessCheckProvider- Returns:
- the
AccessChecks
-
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
-
-