Class LogWriterFinder


  • public class LogWriterFinder
    extends Object
    Class used to find a LogWriter implementation, and returning a LogWriter object, taking as argument the name of a log writer. The mapping between the log writer names and the classes implementing LogWriter is specified by the files in the resources/META-INF/services/org/apache/activemq/transport/logwriters directory.
    Author:
    David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com
    • Constructor Detail

      • LogWriterFinder

        public LogWriterFinder​(String path)
        Builds a LogWriterFinder that will look for the mappings between LogWriter names and classes in the directory "path".
        Parameters:
        path - The directory where the files that map log writer names to LogWriter classes are.