@Service(name="restart-domain") @PerLookup public class RestartDomainCommand extends RestartServer implements AdminCommand
| Constructor and Description |
|---|
RestartDomainCommand()
version which will use injection
|
RestartDomainCommand(com.sun.enterprise.module.ModulesRegistry registryIn)
version which will not use injection
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdminCommandContext context)
Restart of the application server :
All running services are stopped.
|
doExecute, setDebug, setRegistry, setServerNamepublic RestartDomainCommand()
public RestartDomainCommand(com.sun.enterprise.module.ModulesRegistry registryIn)
public void execute(AdminCommandContext context)
execute in interface AdminCommandcontext - informationCopyright © 2017. All rights reserved.