6209N/A * The contents of this file are subject to the terms of the 6209N/A * Common Development and Distribution License, Version 1.0 only 6209N/A * (the "License"). You may not use this file except in compliance 6209N/A * See the License for the specific language governing permissions 6209N/A * and limitations under the License. 6209N/A * When distributing Covered Code, include this CDDL HEADER in each 6983N/A * If applicable, add the following below this CDDL HEADER, with the 6983N/A * fields enclosed by brackets "[]" replaced with your own identifying 6209N/A * Portions Copyright [yyyy] [name of copyright owner] 6209N/A * Copyright 2006-2008 Sun Microsystems, Inc. 6209N/A * Portions copyright 2011-2013 ForgeRock AS. 6209N/A * This class defines the wrapper that will invoke all registered loggers for 6209N/A * each type of request received or response sent. If no log publishers are 6209N/A * registered, messages will be directed to standard out. 6209N/A * The type of the LogPublisher corresponding to this logger 6209N/A * The type of the LogPublisherCfg corresponding to this logger 6209N/A * The storage designed to store log publishers. It is helpful in abstracting 6209N/A * away the methods used to manage the collection. 6209N/A * The concrete {@link LogPublisher} type 6209N/A * The concrete {@link LogPublisherCfg} type 6209N/A * Defined as public to allow subclasses of {@link AbstractLogger} to 6209N/A * The set of loggers that have been registered with the server. It will 6209N/A * Add a log publisher to the logger. 6209N/A * The log publisher to add. 6209N/A * Remove a log publisher from the logger. 6209N/A * The log publisher to remove. 6209N/A * @return True if the log publisher is removed or false otherwise. 6209N/A * Removes all existing log publishers from the logger. 6209N/A * Returns the logPublishers. 6209N/A * @return the collection of {@link LogPublisher}s 6209N/A * Returns the logger storage for the current logger. 6209N/A * @return the logger storage for the current logger 6209N/A * Returns the java {@link ClassPropertyDefinition} for the current logger. 6209N/A * @return the java {@link ClassPropertyDefinition} for the current logger. 6209N/A * The constructor for this class. 6209N/A * @param invalidLoggerClassErrorMessage 6209N/A * the error message to use if the logger class in invalid 6209N/A * Initializes all the log publishers. 6209N/A * @param configs The log publisher configurations. 6209N/A * If an unrecoverable problem arises in the process of 6209N/A * performing the initialization as a result of the server 6209N/A * @throws InitializationException 6209N/A * If a problem occurs during initialization that is not 6209N/A * related to the server configuration. 6209N/A // Needs to be added and enabled. 6209N/A // The publisher is currently active, so we don't need to do anything. 6209N/A // Changes to the class name cannot be 6209N/A // applied dynamically, so if the class name did change then 6209N/A // indicate that administrative action is required for that 6209N/A // The publisher is being disabled so shut down and remove. 6209N/A // Load the class and cast it to a LogPublisher. 6209N/A // The class is valid as far as we can tell. 6209N/A // Load the class and cast it to a LogPublisher. 6209N/A // The log publisher has been successfully initialized.