Class StopInstanceCommand
- java.lang.Object
-
- com.sun.enterprise.v3.admin.StopServer
-
- com.sun.enterprise.v3.admin.cluster.StopInstanceCommand
-
- All Implemented Interfaces:
AdminCommand
,org.glassfish.hk2.api.PostConstruct
@Service(name="stop-instance") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) public class StopInstanceCommand extends StopServer implements AdminCommand, org.glassfish.hk2.api.PostConstruct
AdminCommand to stop the instance server. Shutdown of an instance. This command only runs on DAS. It calls the instance and asks it to kill itself- Author:
- Byron Nevins
-
-
Constructor Summary
Constructors Constructor Description StopInstanceCommand()
-
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 valuesvoid
postConstruct()
-
Methods inherited from class com.sun.enterprise.v3.admin.StopServer
doExecute
-
-
-
-
Method Detail
-
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
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
-