// Create the server
final ServerFactoryLocator locator = ServerFactoryLocator.getInstance(this);
final ServerFactory factory = locator.getFactory(getServerType());
final Server server = factory.createServer();
// Configure the server
final Map<String, Object> config = getServerConfig();
for (final Map.Entry<String, Object> entry : config.entrySet()) {