Package org.saidone.aspects
Class NodesApiReadOnlyAspect
java.lang.Object
org.saidone.component.BaseComponent
org.saidone.aspects.NodesApiReadOnlyAspect
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
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 Summary
Constructors -
Method Summary
Methods inherited from class org.saidone.component.BaseComponent
setApplicationContext, shutDown, start, stop
-
Constructor Details
-
NodesApiReadOnlyAspect
public NodesApiReadOnlyAspect()
-
-
Method Details
-
enforceReadOnly
- Throws:
Throwable
-