Package org.glassfish.deployment.admin
Class ListApplicationRefsCommand
- java.lang.Object
-
- org.glassfish.deployment.admin.ListApplicationRefsCommand
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.AccessCheckProvider
@Service(name="list-application-refs") @ExecuteOn(DAS) @PerLookup @CommandLock(NONE) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER}) public class ListApplicationRefsCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
List application ref command
-
-
Constructor Summary
Constructors Constructor Description ListApplicationRefsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Entry point from the framework into the command executionCollection<? 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)
Entry point from the framework into the command execution- Specified by:
executein interfaceAdminCommand- Parameters:
context- context for the command.
-
-