}
public void setMethodHandlerFactories (List methodHandlerFactories) {
if (started) {
throw new ConfigurationException("methodHandlerFactories can not be changed after startup");
}
Iterator iterator = methodHandlerFactories.iterator ();
while (iterator.hasNext ()) {
Object element = iterator.next ();
if (element instanceof MethodHandlerFactory) {
LOG.info ("methodHandlerFactories contains '" + element + "'");
} else {
throw new ConfigurationException("all elements of 'methodHandlerFactories' mist implement '" + MethodHandlerFactory.class.getName () + "'");
}
}
this.methodHandlerFactories = methodHandlerFactories;
}