Class WritabilityCheckerInterceptor

java.lang.Object
it.uniroma2.art.semanticturkey.services.aspects.WritabilityCheckerInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class WritabilityCheckerInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
An AOP Alliance MethodInterceptor implementation that enforces a check on the writability of the current repository for a method annotated with Write.
Author:
Manuel Fiorelli
  • Constructor Details

    • WritabilityCheckerInterceptor

      public WritabilityCheckerInterceptor(STServiceContext stServiceContext)
  • Method Details

    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable