Class DeleteResourceRef
- java.lang.Object
-
- org.glassfish.admin.cli.resources.DeleteResourceRef
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.Preauthorization
@TargetType({CONFIG,DAS,CLUSTER,STANDALONE_INSTANCE,DEPLOYMENT_GROUP}) @ExecuteOn({DAS,INSTANCE}) @Service(name="delete-resource-ref") @PerLookup public class DeleteResourceRef extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization
Delete Resource Ref Command- Author:
- Jennifer Chou, Jagadish Ramu
-
-
Constructor Summary
Constructors Constructor Description DeleteResourceRef()
-
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 the parameter valuesbooleanpreAuthorization(AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorizationin interfaceAdminCommandSecurity.Preauthorization
-
execute
public void execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-