}
protected void registerHandlers() throws InstantiationException, IllegalAccessException, ClassNotFoundException {
if (configuration.handlers != null) {
// ACTIVATE HANDLERS
OServerHandler handler;
for (OServerHandlerConfiguration h : configuration.handlers) {
handler = (OServerHandler) Class.forName(h.clazz).newInstance();
handlers.add(handler);
handler.config(this, h.parameters);
handler.startup();
}
}
}