Class CreateJvmOptions
- java.lang.Object
-
- com.sun.enterprise.v3.admin.commands.CreateJvmOptions
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.Preauthorization
@Service(name="create-jvm-options") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public final class CreateJvmOptions extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization
Creates given JVM options in server's configuration.- Since:
- GlassFish V3
- Author:
- केदार (km@dev.java.net), Kin-man Chung
-
-
Constructor Summary
Constructors Constructor Description CreateJvmOptions()
-
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 are the parameter valuesbooleanpreAuthorization(AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorizationin interfaceAdminCommandSecurity.Preauthorization
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-