Class NodesApiReadOnlyAspect

java.lang.Object
org.saidone.aspects.NodesApiReadOnlyAspect

@Component public class NodesApiReadOnlyAspect extends Object
Aspect that intercepts write operations executed through Alfresco's NodesApi.

When application.read-only is set to true any intercepted invocation originating from the org.saidone.processors package is skipped and a warning is logged.

  • Constructor Details

    • NodesApiReadOnlyAspect

      public NodesApiReadOnlyAspect()
  • Method Details

    • enforceReadOnly

      public Object enforceReadOnly(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      Throws:
      Throwable