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