org.alfresco.repo.content
Class AbstractContentAccessor.ChannelCloseCallbackAdvise

java.lang.Object
  extended by 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 java.lang.Object
implements org.springframework.aop.AfterReturningAdvice

Advise that listens for the completion of specific methods on the ByteChannel interface.


Constructor Summary
AbstractContentAccessor.ChannelCloseCallbackAdvise(java.util.List listeners)
           
 
Method Summary
 void afterReturning(java.lang.Object returnValue, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target)
          Provides transactional callbacks to the listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractContentAccessor.ChannelCloseCallbackAdvise

public AbstractContentAccessor.ChannelCloseCallbackAdvise(java.util.List listeners)
Method Detail

afterReturning

public void afterReturning(java.lang.Object returnValue,
                           java.lang.reflect.Method method,
                           java.lang.Object[] args,
                           java.lang.Object target)
                    throws java.lang.Throwable
Provides transactional callbacks to the listeners

Specified by:
afterReturning in interface org.springframework.aop.AfterReturningAdvice
Throws:
java.lang.Throwable


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.