コード例 #1
0
 @Override
 protected void rollbackRuntime(
     OperationContext context,
     ModelNode operation,
     ModelNode model,
     List<ServiceController<?>> controllers) {
   auditLogger.getUpdater().rollbackChanges();
 }
コード例 #2
0
 @Override
 protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model)
     throws OperationFailedException {
   auditLogger
       .getUpdater()
       .updateHandler(
           SyslogAuditLogHandlerResourceDefinition.createHandler(
               pathManager, context, operation, environmentReader));
 }
コード例 #3
0
 @Override
 protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model)
     throws OperationFailedException {
   auditLogger.getUpdater().rollbackChanges();
 }