Class 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 Detail

      • DeleteResourceRef

        public DeleteResourceRef()
    • Method Detail

      • preAuthorization

        public boolean preAuthorization​(org.glassfish.api.admin.AdminCommandContext context)
        Specified by:
        preAuthorization in interface org.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:
        execute in interface org.glassfish.api.admin.AdminCommand
        Parameters:
        context - information