Class AuditLoader
- java.lang.Object
-
- org.apache.syncope.core.logic.init.AuditLoader
-
- All Implemented Interfaces:
SyncopeCoreLoader
,Ordered
public class AuditLoader extends Object implements SyncopeCoreLoader
-
-
Field Summary
Fields Modifier and Type Field Description protected AuditAccessor
auditAccessor
protected List<AuditAppender>
auditAppenders
protected static String
ROOT_LOGGER
-
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
-
Constructor Summary
Constructors Constructor Description AuditLoader(AuditAccessor auditAccessor, List<AuditAppender> auditAppenders)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addAppenderToLoggerContext(org.apache.logging.log4j.core.LoggerContext ctx, AuditAppender auditAppender, org.apache.logging.log4j.core.config.LoggerConfig eventLogConf)
int
getOrder()
void
load(String domain, DataSource datasource)
Perform init operations on the given domain.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.SyncopeCoreLoader
load, unload, unload
-
-
-
-
Field Detail
-
ROOT_LOGGER
protected static final String ROOT_LOGGER
- See Also:
- Constant Field Values
-
auditAccessor
protected final AuditAccessor auditAccessor
-
auditAppenders
protected final List<AuditAppender> auditAppenders
-
-
Constructor Detail
-
AuditLoader
public AuditLoader(AuditAccessor auditAccessor, List<AuditAppender> auditAppenders)
-
-
Method Detail
-
addAppenderToLoggerContext
public static void addAppenderToLoggerContext(org.apache.logging.log4j.core.LoggerContext ctx, AuditAppender auditAppender, org.apache.logging.log4j.core.config.LoggerConfig eventLogConf)
-
load
public void load(String domain, DataSource datasource)
Description copied from interface:SyncopeCoreLoader
Perform init operations on the given domain.- Specified by:
load
in interfaceSyncopeCoreLoader
- Parameters:
domain
- domain to initializedatasource
- db access for the given domain
-
-