[seam-issues] [JBoss JIRA] (SOLDER-288) Interceptors not following required scheme
Jozef Hartinger (Created) (JIRA)
jira-events at lists.jboss.org
Thu Oct 13 06:55:16 EDT 2011
Interceptors not following required scheme
------------------------------------------
Key: SOLDER-288
URL: https://issues.jboss.org/browse/SOLDER-288
Project: Seam Solder
Issue Type: Bug
Affects Versions: 3.1.0.Beta3
Reporter: Jozef Hartinger
Priority: Blocker
Fix For: 3.1.0.CR1
The interceptors spec requires the following scheme of an @AroundInvoke interceptor:
{quote}Object <METHOD>(InvocationContext) throws Exception{quote}
The ExceptionHandledInterceptor does not follow the scheme:
* impl/src/main/java/org/jboss/solder/exception/control/ExceptionHandledInterceptor.java : public Object passExceptionsToSolderCatch(final InvocationContext ctx)
Besides, tests for service handlers should probably also be consistent:
testsuite/src/test/java/org/jboss/solder/test/serviceHandler/DecoratedEchoServiceHandler.java : public Object invoke(InvocationContext ctx)
testsuite/src/test/java/org/jboss/solder/test/serviceHandler/EchoServiceHandler.java : public Object invoke(InvocationContext ctx)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list