Search in sources :

Example 6 with StandaloneServerConfig

use of com.sun.appserv.management.config.StandaloneServerConfig in project Payara by payara.

the class ConfigSetup method createServer.

public StandaloneServerConfig createServer(final String name, int basePort, final String nodeAgentName, final String configName) {
    final Map<String, String> options = new HashMap<String, String>();
    setupServerPorts(options, basePort);
    final StandaloneServerConfig server = getDomainConfig().getServersConfig().createStandaloneServerConfig(name, nodeAgentName, configName, options);
    return server;
}
Also used : StandaloneServerConfig(com.sun.appserv.management.config.StandaloneServerConfig) HashMap(java.util.HashMap)

Aggregations

StandaloneServerConfig (com.sun.appserv.management.config.StandaloneServerConfig)6 ConfigConfig (com.sun.appserv.management.config.ConfigConfig)2 ResourceRefConfig (com.sun.appserv.management.config.ResourceRefConfig)2 HashMap (java.util.HashMap)2 AppserverConnectionSource (com.sun.appserv.management.client.AppserverConnectionSource)1 DomainConfig (com.sun.appserv.management.config.DomainConfig)1 MailResourceConfig (com.sun.appserv.management.config.MailResourceConfig)1 NodeAgentConfig (com.sun.appserv.management.config.NodeAgentConfig)1