Paul Robinson [
https://community.jboss.org/people/paul.robinson] created the discussion
"Re: Can I modify the HandlerChain at deploy time?"
To view the discussion, visit:
https://community.jboss.org/message/713787#713787
--------------------------------------------------------------
Alessio,
I've finally got all my EAP 6.0 issues off my plate (for now), so I can return to
this.
I've implimented a DeploymentActivator and it is succesfully registering a
DeploymentUnitProcessor when the XTS subsytem boots, I've even got it reading off the
annotations, looking for the one I am interested in. I'm now ready to add a handler to
the handler chain.
The problem I have is with getting the DeploymentUnitProcessor#deploy method be invoked
after WSHandlerChainAnnotationProcessor#deploy. My understanding was that I should add an
entry to Phase:
...
public static final int PARSE_JAXWS_HANDLER_CHAIN_ANNOTATION = 0x2055;
public static final int PARSE_TXFRAMEWORK_HANDLERS = 0x2056;
...
I've added it after PARSE_JAXWS_HANDLER_CHAIN_ANNOTATION and set the value as above. I
was thinking the value represented the order in which they should be invoked. However,
I've tried changing the values and the ordering does not change. My TXFramework DUP is
always invoked before the WSHandlerChainAnnotationProcessor DUP. I've tried to find
out where else in the code, the ordering is impossed and I'm having no luck. Can you
point me at the code that sets the order?
Thanks,
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/713787#713787]
Start a new discussion in JBoss Web Services Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]