Class CopyConfigCommand
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.CopyConfig
-
- com.sun.enterprise.v3.admin.cluster.CopyConfigCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="copy-config") @PerLookup public final class CopyConfigCommand extends CopyConfig
This is a remote command that copies a config to a destination config. Usage: copy-config [--systemproperties (name=value)[:name=value]*] source_configuration_name destination_configuration_name- Author:
- Bhakti Mehta
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.config.serverbeans.CopyConfig
configs, copyOfConfig, domain, systemproperties
-
-
Constructor Summary
Constructors Constructor Description CopyConfigCommand()
-
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-
Methods inherited from class com.sun.enterprise.config.serverbeans.CopyConfig
copyConfig
-
-
-
-
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- Parameters:
context
- information
-
-