Class CreateInstanceCommand
- java.lang.Object
-
- com.sun.enterprise.v3.admin.cluster.CreateInstanceCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="create-instance") @PerLookup @ExecuteOn(DAS) public class CreateInstanceCommand extends Object implements AdminCommand
Remote AdminCommand to create an instance. This command is run only on DAS. 1. Register the instance on DAS 2. Create the file system on the instance node via ssh, DCOM, node agent, or other 3. Bootstrap a minimal set of config files on the instance for secure admin.- Author:
- Jennifer Chou
-
-
Constructor Summary
Constructors Constructor Description CreateInstanceCommand()
-
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 values
-
-
-
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
-
-