[jboss-dev-forums] [EJB3 Development] - Re: Adding interceptor at runtime / dynamically

Ales Justin do-not-reply at jboss.com
Mon Feb 7 05:32:43 EST 2011


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Adding interceptor at runtime / dynamically"

To view the discussion, visit: http://community.jboss.org/message/585880#585880

--------------------------------------------------------------
> It's probably better if you modify JBossMetaData that adds an interceptor. This might require some transformation if interceptor-orders are used and such.
We already do this, but it looks like our interceptor doesn't get hit for @PrePassivate / @PostActivate, hence no proper context.
No idea why it doesn't get hit. Should it?
> Adding an interceptor that modifies the actual type of InvocationContext will probably fail, because we use custom InvocationContext types.
Shouldn't this work as it is? 
Since original invocation::proceed will eventually be invoked, which has no knowledge of temp in-lined impl.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/585880#585880]

Start a new discussion in EJB3 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110207/a5b71454/attachment.html 


More information about the jboss-dev-forums mailing list