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/641739#641739
--------------------------------------------------------------
Alessio,
I've been looking at the code, and I have a rough idea of where I need to begin.
1) I think I need to impliment an AbstractDeploymentAspect and specify it in
jbossws-cxf-config-as7.xml? Is there another place that I can specify my
AbstractDeploymentAspect impl as I'd prefer not to require the JBossWS code to be
changed. I'm sure you wouldn't want me to do that either.
2) When registering my AbstractDeploymentAspect impl, I need to specify that I depend on
some other AbstractDeploymentAspect implimentations. This will ensure my code is invoked
at the right time.
3) My impl of AbstractDeploymentAspect should query the Deployment object to find out what
services are being deployed.
4) I then look up the service classes in jandex and obtain for my annotations.
5) I make some call on the Deployment object to specify the handler(s) I wish to add to
the handler chain. This handler is put in place when the MetadataBuilder is invoked from
DescriptorDeploymentAspect.
Does this make sense so far?
Thanks,
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641739#641739]
Start a new discussion in JBoss Web Services Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]