Paul Robinson [
http://community.jboss.org/people/paul.robinson] created the discussion
"Re: Can I modify the HandlerChain at deploy time?"
To view the discussion, visit:
http://community.jboss.org/message/641234#641234
--------------------------------------------------------------
Alessio,
Thanks for the reply. I was in two minds whether to post on the dev or user section.
I'll stick to the dev section in future, for issues like this.
1) & 2) arn't really an option as:
A. They don't remove the burden from the developer.
B. Different handlers will be deployed depending on the annotation. This is not something
I want the user to have to understand or remember to do.
4) Doesn't sound like a good idea, due to the reasons you mention.
3) Sounds most promising. I have the following questions:
A. Will this require any changes to jbossws?
B. Will the code I plug in have access to the service implementation class? I will need to
pull off the annotations to decide what to do with the handler chain. I don't need
access to the actual instance.
C. Would I need to do anything special, in the situation where the developer has included
a webservices.xml for an unrelated purpose?
To be clear, I think I need two things:
1) Access to the handlerchain in order to insert my own handler.
2) Access to the service impl class so that I can read off the annotations.
Thanks,
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641234#641234]
Start a new discussion in JBoss Web Services Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]