ObjectRecipe recipe = new ObjectRecipe(className, properties);
recipe.allow(Option.IGNORE_MISSING_PROPERTIES);
Service service = (Service) recipe.create(cl);
for (ExecutorType executorType: getExecutor()) {
Executor executor = executorType.getExecutor(cl, kernel);
service.addExecutor(executor);
TomcatServerGBean.executors.put(executor.getName(), executor);
}
for (ConnectorType connectorType: getConnector()) {
Connector connector = connectorType.getConnector(cl, service);
service.addConnector(connector);