Set methodHandlers = new HashSet(methodHandlerFactories.size ());
Iterator iterator = methodHandlerFactories.iterator ();
while (iterator.hasNext ()) {
MethodHandlerFactory factory = (MethodHandlerFactory)iterator.next ();
MethodHandler methodHandler = factory.createMethodHandler (methodKey);
if (methodHandler != null) {
methodHandlers.add (methodHandler);
}
}