History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: EJBTHREE-896
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Carlo de Wolf
Reporter: Carlo de Wolf
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
EJB 3.0

Specifying an interceptor-order in ejb-jar.xml also creates a new instance of the interceptor

Created: 28/Feb/07 11:37 AM   Updated: 21/Apr/08 07:17 AM
Component/s: interceptors
Affects Version/s: AS 4.2.0 GA
Fix Version/s: AS 5.0.0.CR1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: interceptor2
Issue Links:
Dependency
 
This issue is a dependency of:
JBPAPP-615 EJBTHREE-896: Specifying an intercept... Major Open
Related
 
This issue is related to:
JBAS-4572 EJB 3 testsuite 100% Blocker Closed


 Description  « Hide
Trying to override the order of interceptors in xml from the one specified via annotations in the beans, will lead to duplicate invocations on the interceptors.

@Interceptors({AnnotatedClassInterceptor3.class, XMLClassInterceptor3.class})
@Stateless(name="OrderedSLSB")
public class OrderedSLSB implements OrderedSLSBRemote
{
...
}

      <interceptor-binding>
         <ejb-name>OrderedSLSB</ejb-name>
         <interceptor-order>
<interceptor-class>org.jboss.ejb3.test.interceptors2.AnnotatedClassInterceptor3</interceptor-class>
<interceptor-class>org.jboss.ejb3.test.interceptors2.XMLClassInterceptor3</interceptor-class>
<interceptor-class>org.jboss.ejb3.test.interceptors2.DefaultInterceptor</interceptor-class>
         </interceptor-order>
      </interceptor-binding>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
There are no comments yet on this issue.