Author: alessio.soldano(a)jboss.com
Date: 2010-03-26 13:23:50 -0400 (Fri, 26 Mar 2010)
New Revision: 11871
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/JAXBIntroDeploymentAspect.java
Log:
[JBWS-2974] Set binding customizations in the deployment
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/JAXBIntroDeploymentAspect.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/JAXBIntroDeploymentAspect.java 2010-03-26
17:22:31 UTC (rev 11870)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/JAXBIntroDeploymentAspect.java 2010-03-26
17:23:50 UTC (rev 11871)
@@ -86,6 +86,8 @@
BindingCustomization jaxbCustomizations = new JAXBBindingCustomization();
BindingCustomizationFactory.populateBindingCustomization(introsConfigStream,
jaxbCustomizations);
+ // Add the customizations to the deployment too; later consumed by
BusDeploymentAspect in CXF stack
+ deployment.addAttachment(BindingCustomization.class, jaxbCustomizations);
// JBossWSBeanConfigurer#configureService becomes the consumer later on
for(Endpoint endpoint : deployment.getService().getEndpoints())
{