org.alfresco.repo.content
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 java.lang.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.
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 |
AbstractContentAccessor.ChannelCloseCallbackAdvise
public AbstractContentAccessor.ChannelCloseCallbackAdvise(java.util.List listeners)
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 - 2010 Alfresco Software, Inc. All Rights Reserved.