@Service(name="delete-application-ref") @ExecuteOn(value={DAS,INSTANCE}) @PerLookup @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER}) public class DeleteApplicationRefCommand extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization, AdminCommandSecurity.AccessCheckProvider
| Modifier and Type | Field and Description |
|---|---|
Boolean |
cascade |
String |
name |
protected Server |
server |
| Constructor and Description |
|---|
DeleteApplicationRefCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdminCommandContext context)
Entry point from the framework into the command execution
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessChecks 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
or AccessRequired annotations. |
boolean |
preAuthorization(AdminCommandContext context) |
public String name
public Boolean cascade
@Inject @Named(value="default-instance-name") protected Server server
public boolean preAuthorization(AdminCommandContext context)
preAuthorization in interface AdminCommandSecurity.Preauthorizationpublic Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProviderAccessChecks 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
or AccessRequired annotations.getAccessChecks in interface AdminCommandSecurity.AccessCheckProviderAccessCheckspublic void execute(AdminCommandContext context)
execute in interface AdminCommandcontext - context for the command.Copyright © 2017. All rights reserved.