use of com.centurylink.mdw.plugin.server.ServerStatusChecker in project mdw-designer by CenturyLinkCloud.
the class ServerConnectionsPropertyPage method createContents.
@Override
protected Control createContents(Composite parent) {
noDefaultAndApplyButton();
initializeWorkflowProject();
Composite composite = createComposite(parent);
ServerSettings serverSettings = getProject().getServerSettings();
workingCopy = new ServerSettings(serverSettings);
configurator = ServerConfigurator.Factory.create(workingCopy);
createContainerControls(composite);
addSeparator(composite);
createServerControls(composite);
addSeparator(composite);
createServerStartupControls(composite);
if (serverSettings.isJavaEE()) {
addSeparator(composite);
createDeployControls(composite);
}
if (serverStatusThread != null)
serverStatusThread.interrupt();
statusCheck = new ServerStatusChecker(getProject().getServerSettings());
statusCheck.addStatusListener(this);
serverStatusThread = new Thread(statusCheck);
serverStatusThread.start();
return composite;
}
Aggregations