Class DeleteResourceRef
java.lang.Object
org.glassfish.admin.cli.resources.DeleteResourceRef
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand,org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
@TargetType({CONFIG,DAS,CLUSTER,STANDALONE_INSTANCE})
@ExecuteOn({DAS,INSTANCE})
@Service(name="delete-resource-ref")
@PerLookup
public class DeleteResourceRef
extends Object
implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
Delete Resource Ref Command
- Author:
- Jennifer Chou, Jagadish Ramu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.glassfish.api.admin.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(org.glassfish.api.admin.AdminCommandContext context)
-
Constructor Details
-
DeleteResourceRef
public DeleteResourceRef()
-
-
Method Details
-
preAuthorization
public boolean preAuthorization(org.glassfish.api.admin.AdminCommandContext context) - Specified by:
preAuthorizationin interfaceorg.glassfish.api.admin.AdminCommandSecurity.Preauthorization
-
execute
public void execute(org.glassfish.api.admin.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 interfaceorg.glassfish.api.admin.AdminCommand- Parameters:
context- information
-