@Service(name="restart-domain") @PerLookup public class RestartDomainCommand extends RestartServer implements org.glassfish.api.admin.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(org.glassfish.api.admin.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(org.glassfish.api.admin.AdminCommandContext context)
execute in interface org.glassfish.api.admin.AdminCommandCopyright © 2013. All Rights Reserved.