[jboss-dev-forums] [JBoss Web Services Development] - Re: Can I modify the HandlerChain at deploy time?

Paul Robinson do-not-reply at jboss.com
Wed Feb 1 11:52:35 EST 2012


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&containerType=14&container=2047]

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


More information about the jboss-dev-forums mailing list