* @param clazz
* @return
*/
private NotifyHandler loadNotifyHandler(Class clazz) throws DispatcherException
{
NotifyHandler handler = null;
handler = this.notifyHandlers.get(clazz);
if (handler == null) {
try {
handler = (NotifyHandler) clazz.newInstance();
handler.setDailog(dialog);
handler.setContext(context);
} catch (Exception e) {
throw new DispatcherException(e);
}
}
return handler;