AbstractAuditLogger.java revision b63f998dd675707980b3605382f52a5b11b4b7cb
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013 ForgeRock AS. All rights reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/**
* Abstract audit logger to implement common attributes.
*
* @author brmiller
*/
public abstract class AbstractAuditLogger implements AuditLogger {
/** config token to determine whether to use this logger for queries */
boolean useForQueries;
/**
* Set base configuration for all loggers from config.
*
* @param config configuration
* @param ctx context
*/
}
/**
* Cleanup called when auditlogger no longer needed.
*/
public abstract void cleanup();
/**
*
*/
public boolean isUsedForQueries()
{
return useForQueries;
}
}