* @param name : class name of the handler to find
* @return : the handler, or null if not found
*/
public CompositeHandler getCompositeHandler(String name) {
for (int i = 0; i < m_handlers.length; i++) {
HandlerFactory fact = (HandlerFactory) m_handlers[i].getFactory();
if (fact.getHandlerName().equals(name) || name.equals(fact.getComponentDescription().getClassName())) {
return (CompositeHandler) m_handlers[i].getHandler();
}
}
return null;
}