Class AppenderAttachableImpl<E>

    • Constructor Detail

      • AppenderAttachableImpl

        public AppenderAttachableImpl()
        Deprecated.
    • Method Detail

      • addAppender

        public void addAppender​(Appender<E> newAppender)
        Deprecated.
        Attach an appender. If the appender is already in the list in won't be added again.
        Specified by:
        addAppender in interface AppenderAttachable<E>
      • appendLoopOnAppenders

        public int appendLoopOnAppenders​(E e)
        Deprecated.
        Call the doAppend method on all attached appenders.
      • iteratorForAppenders

        public Iterator<Appender<E>> iteratorForAppenders()
        Deprecated.
        Get all attached appenders as an Enumeration. If there are no attached appenders null is returned.
        Specified by:
        iteratorForAppenders in interface AppenderAttachable<E>
        Returns:
        Iterator An iterator of attached appenders.
      • getAppender

        public Appender<E> getAppender​(String name)
        Deprecated.
        Look for an attached appender named as name.

        Return the appender with that name if in the list. Return null otherwise.

        Specified by:
        getAppender in interface AppenderAttachable<E>
      • isAttached

        public boolean isAttached​(Appender<E> appender)
        Deprecated.
        Returns true if the specified appender is in the list of attached appenders, false otherwise.
        Specified by:
        isAttached in interface AppenderAttachable<E>
        Since:
        1.2
      • detachAndStopAllAppenders

        public void detachAndStopAllAppenders()
        Deprecated.
        Remove and processPriorToRemoval all previously attached appenders.
        Specified by:
        detachAndStopAllAppenders in interface AppenderAttachable<E>
      • detachAppender

        public boolean detachAppender​(Appender<E> appender)
        Deprecated.
        Remove the appender passed as parameter form the list of attached appenders.
        Specified by:
        detachAppender in interface AppenderAttachable<E>
      • detachAppender

        public boolean detachAppender​(String name)
        Deprecated.
        Remove the appender with the name passed as parameter form the list of appenders.
        Specified by:
        detachAppender in interface AppenderAttachable<E>