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&...]