/** * {@inheritDoc} * <p> * Note that once this is invoked the handler will be activated and the messages will no longer be queued. If more * than one child handler is required the {@link #setHandlers(Handler[])} should be used. * </p> * * @see #setHandlers(Handler[]) */ @Override public void addHandler(final Handler handler) throws SecurityException { super.addHandler(handler); activate(); }
public void applyPostCreate(final Void param) { final Map<String, Handler> handlerRefs = configuration.getHandlerRefs(); final ExtHandler handler = (ExtHandler) handlerRefs.get(getName()); handler.addHandler(handlerRefs.get(name)); }