code: @Override
      public void afterPropertiesSet() throws Exception {
          Configuration configuration = Configuration.INSTANCE;
          configuration.setLayout(layout);
          configuration.setHandlers(handlers);
          configuration.setFilters(filters);
          configuration.setCommands(commands);
          configuration.setJmx(jmx);
          configuration.setProperties(properties);
  
          if (metaData == null) {
              if (actorSessionAttributeName == null) {
                  configuration.setMetaData(new SpringSecurityWebAuditMetaData());
              } else {
                  configuration.setMetaData(new WebSessionAuditMetaData());
              }
          } else {
              configuration.setMetaData(metaData);
          }
  
          if (annotationTransformer != null) {
              configuration.setAnnotationTransformer(annotationTransformer);
          }
  
          AuditManager.startWithConfiguration(configuration);
      }
docs: Initialize audit4j when starting spring application context.
  
  {@inheritDoc}
  
  @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()