You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after adding the AspectJ runtime, which is not a part of the Alfresco distribution, to the Alfresco repository classpath, creating AOP proxies still leads to ClassNotFoundExceptions. This problem may be too hard to solve, hence this is marked as a known issue.
Supported Spring AOP strategies:
Using implementations ofAbstractAutoProxyCreator (such as BeanNameAutoProxyCreator) does work. In fact, Dynamic Extensions uses this approach to support @RunAs and @Transactional.
Spring AOP using Java annotations is not supported: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/aop.html#aop-ataspectj
Even after adding the AspectJ runtime, which is not a part of the Alfresco distribution, to the Alfresco repository classpath, creating AOP proxies still leads to ClassNotFoundExceptions. This problem may be too hard to solve, hence this is marked as a known issue.
Supported Spring AOP strategies:
Using implementations of
AbstractAutoProxyCreator
(such asBeanNameAutoProxyCreator
) does work. In fact, Dynamic Extensions uses this approach to support@RunAs
and@Transactional
.Untested:
AOP schema support has not yet been tested, but may work: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/aop.html#aop-schema
The text was updated successfully, but these errors were encountered: