Class AbstractContentAccessor.ChannelCloseCallbackAdvise

java.lang.Object
org.alfresco.repo.content.AbstractContentAccessor.ChannelCloseCallbackAdvise
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.AfterAdvice, org.springframework.aop.AfterReturningAdvice
Enclosing class:
AbstractContentAccessor

protected class AbstractContentAccessor.ChannelCloseCallbackAdvise extends Object implements org.springframework.aop.AfterReturningAdvice
Advise that listens for the completion of specific methods on the ByteChannel interface. This advise reacts only in the afterReturning phase so that the underlying stream methods have been successfully completed.
Author:
Derek Hulley
  • Constructor Details

  • Method Details

    • afterReturning

      public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable
      Provides transactional callbacks to the listeners
      Specified by:
      afterReturning in interface org.springframework.aop.AfterReturningAdvice
      Throws:
      Throwable