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
As of Sculptor 3.0.4 only the PublishAdvice (introduced in 2010) is leveraging Springs @AspectJ support. Besides from being old-school this keeps us from using these advices with Springs Java config approach mentioned in #122.
The text was updated successfully, but these errors were encountered:
The other Sculptor advices (ServiceContextStoreAdvice, ErrorHandlingAdvice, BasicErrorHandlingAdvice and JpaFlushEagerAdvice) can't be used with Springs @AspectJ support because their pointcut is application specific. Here the name of the applications base package is needed in the AspectJ expression.
So we have to wrap these advices into a DefaultPointcutAdvisor (together with the corresponding AspectJExpressionPointcut) to create an advisor with Spring Java config, e.g.
As of Sculptor 3.0.4 only the PublishAdvice (introduced in 2010) is leveraging Springs @AspectJ support. Besides from being old-school this keeps us from using these advices with Springs Java config approach mentioned in #122.
The text was updated successfully, but these errors were encountered: