use of com.sun.enterprise.v3.admin.RestartDomainCommand in project Payara by payara.
the class RuntimeRootImpl method restartDomain.
public void restartDomain() {
final ModulesRegistry registry = InjectedValues.getInstance().getModulesRegistry();
final AdminCommandContext ctx = new AdminCommandContextImpl(AMXLoggerInfo.getLogger(), new PlainTextActionReporter());
final AdminCommand cmd = new RestartDomainCommand(registry);
cmd.execute(ctx);
}
Aggregations