Alessio Soldano [
http://community.jboss.org/people/asoldano] created the discussion
"Re: Can I modify the HandlerChain at deploy time?"
To view the discussion, visit:
http://community.jboss.org/message/641748#641748
--------------------------------------------------------------
Hi Paul,
you shouldn't (need) to play with the JBossWS integration deployment aspects. Your
additional deployer (DeploymentUnitProcessor (DUP) in AS7) would likely live in the AS7
XTS subsystem and use the JBossWS SPI to modify the
http://anonsvn.jboss.org/repos/jbossws/spi/tags/jbossws-spi-2.0.0.CR1/src...
org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData that is created during
https://github.com/jbossas/jboss-as/blob/master/server/src/main/java/org/...
Phase.PARSE of AS7.
I would wire that new DUP into the deployers chain after the
Phase.PARSE_JBOSS_WEBSERVICES_XML, so once the
https://github.com/jbossas/jboss-as/blob/master/webservices/server-integr...
WebservicesDescriptorDeploymentProcessor and JBossWebservicesDescriptorDeploymentProcessor
have run. Those two basically create the WebservicesMetaData into the deployment unit if a
webservices.xml is found in the deployment. You'd need to update that object or create
it if the webservices.xml was not in the deployment. Once that's done, the jboss-as7 /
jbossws deployment can go on as is and your additional info will be considered.
If you want to have get an idea of the DUP that are involved in the ws part of the
deployment process, the class that adds them is
https://github.com/jbossas/jboss-as/blob/master/webservices/server-integr...
org.jboss.as.webservices.dmr.WSDeploymentActivator
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641748#641748]
Start a new discussion in JBoss Web Services Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]