Package com.sun.enterprise.v3.admin
Class DeleteSystemProperty
- java.lang.Object
-
- com.sun.enterprise.v3.admin.DeleteSystemProperty
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.AccessCheckProvider,AdminCommandSecurity.Preauthorization
@Service(name="delete-system-property") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({CLUSTER,CLUSTERED_INSTANCE,CONFIG,DAS,DOMAIN,STANDALONE_INSTANCE}) public class DeleteSystemProperty extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization, AdminCommandSecurity.AccessCheckProvider
Delete System Property Command Removes one system property of the domain, configuration, cluster, or server instance, at a time Usage: delete-system-property [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure|-s=true] [--user admin_user] [ --passwordfile file_name] [--target target(Default server)] property_name
-
-
Constructor Summary
Constructors Constructor Description DeleteSystemProperty()
-
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 paramter names and the values the parameter valuesCollection<? 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.booleanpreAuthorization(AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorizationin interfaceAdminCommandSecurity.Preauthorization
-
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)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-