Agreed, the @AroundInvoke method only intercepts business method calls. If you want to intercept the initialize() method, you should define an interceptor method for lifecycle event callback, e.g.:
@MyInterceptorBinding
@Interceptor
public class MyInterceptor {
@PostConstruct
public void postConstruct(InvocationContext ctx)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Agreed, the @AroundInvoke method only intercepts business method calls. If you want to intercept the initialize() method, you should define an interceptor method for lifecycle event callback, e.g.:
@MyInterceptorBinding
{ ctx.proceed(); }@Interceptor
public class MyInterceptor {
@PostConstruct
public void postConstruct(InvocationContext ctx)