protected void initialize(InitialRenderContext context) { Iterator iterator = list.iterator(); while (iterator.hasNext()) { Macro macro = (Macro) iterator.next(); macro.setInitialContext(context); } init(); }
protected void init() { Map newPlugins = new HashMap(); Iterator iterator = list.iterator(); while (iterator.hasNext()) { Macro macro = (Macro) iterator.next(); newPlugins.put(macro.getName(), macro); } plugins = newPlugins; }