BijectionInterceptor is never getting called.  I've done a comparison with the 
working 1.0beta version and the FCS version.

---------------
FCS Version
---------------
 
Register button pressed.
 
SeamInterceptor.aroundInvoke called
   ----> if ( !getUnproxiedClass( invocation.getTarget() 
).isAnnotationPresent(Name.class) )
         is true. Looks like it can't find "@Name" annotation on
         "org.jboss.seam.example.booking._RegisterAction_Serializable"
         As a result, "invocation.proceed" is always called, and
         "aroundInvokeInContexts" is not called.
         As a result, SeamInvocationContext is never called and
         BijectionInterceptor is never called.
 
I've tried making it so "aroundInvokeInContexts" is called in SeamInterceptor.
Here is the result of that:
 
SeamInterceptor.aroundInvoke called
   ----> aroundInvokeInContexts called.
   ----> getSeamComponent called.
   ----> 
Seam.getComponentName("org.jboss.seam.example.booking._RegisterAction_Serializable")
 called.
        **** return value is null ****
   Therefore SeamInvocationContext.proceed is never getting called.
 
-------------------
1.0beta Version
-------------------
 
Register button pressed.
 
SeamInterceptor.aroundInvoke called
   ----> aroundInvokeInContexts called.
   ----> getSeamComponent called.
   ----> 
Seam.getComponentName("org.jboss.seam.example.booking._RegisterAction_Serializable")
 called.
        **** RETURNS A VALUE ****
        **** SeamInvocationContext.proceed is called, and
        **** BijectionInterceptor is called.
   Values are injected properly.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951186#3951186

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951186


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to