[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1215) InvocationContext.getMethod must return null for lifecycle callback interceptor methods
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Tue Mar 11 08:33:05 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-1215?page=all ]
Carlo de Wolf updated EJBTHREE-1215:
------------------------------------
Fix Version/s: AS 5.0.0.CR1
> 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
> Assigned To: 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
More information about the jboss-jira
mailing list