[
http://jira.jboss.com/jira/browse/EJBTHREE-1215?page=all ]
Carlo de Wolf updated EJBTHREE-1215:
------------------------------------
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
InvocationContext.getMethod must return null for lifecycle callback
interceptor methods
---------------------------------------------------------------------------------------
Key: EJBTHREE-1215
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1215
Project: EJB 3.0
Issue Type: Bug
Components: interceptors
Reporter: Carlo de Wolf
Fix For: AS 5.0.0.CR1
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira