Package org.glassfish.deployment.admin
Class InstanceLifecycleModuleCommand
- java.lang.Object
-
- org.glassfish.deployment.admin.InstanceLifecycleModuleCommand
-
- All Implemented Interfaces:
AdminCommand
,AdminCommandSecurity.AccessCheckProvider
@Service(name="_lifecycle") @PerLookup @ExecuteOn(INSTANCE) public class InstanceLifecycleModuleCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
The command to create application ref for lifecycle module on instance
-
-
Field Summary
Fields Modifier and Type Field Description Properties
appprops
Boolean
enabled
String
name
String
target
String
virtualservers
-
Constructor Summary
Constructors Constructor Description InstanceLifecycleModuleCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(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 valuesCollection<? extends AccessRequired.AccessCheck>
getAccessChecks()
Returns theAccessCheck
s 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 orAccessRequired
annotations.
-
-
-
Field Detail
-
name
public String name
-
target
public String target
-
virtualservers
public String virtualservers
-
enabled
public Boolean enabled
-
appprops
public Properties appprops
-
-
Method Detail
-
getAccessChecks
public Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
Description copied from interface:AdminCommandSecurity.AccessCheckProvider
Returns theAccessCheck
s 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 orAccessRequired
annotations.- Specified by:
getAccessChecks
in interfaceAdminCommandSecurity.AccessCheckProvider
- Returns:
- the
AccessCheck
s
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes 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:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-