Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
EJB 3 12.5 paragraph 3:
The getMethod method returns the method of the bean class for which the interceptor was invoked. For AroundInvoke methods, this is the business method on the bean class; for lifecycle callback interceptor methods, getMethod returns null.
Not:
java.lang.IllegalStateException: Get method is not allowed on lifecycle callbacks (EJB 3 12)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.getMethod(InvocationContextInterceptor.java:120