if (pluginClass != null) {
// CREATE PARAMETERS
parameters = properties.field("parameters");
final List<OServerParameterConfiguration> params = new ArrayList<OServerParameterConfiguration>();
for (String paramName : parameters.keySet()) {
params.add(new OServerParameterConfiguration(paramName, (String) parameters.get(paramName)));
}
final OServerParameterConfiguration[] pluginParams = params.toArray(new OServerParameterConfiguration[params.size()]);
pluginInstance = startPluginClass(pluginClassLoader, pluginClass, pluginParams);
} else {