Author: jim.ma
Date: 2010-04-20 22:46:17 -0400 (Tue, 20 Apr 2010)
New Revision: 12058
Modified:
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/java/org/jboss/webservices/integration/deployers/deployment/WSDeploymentBuilder.java
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml
Log:
[JBWS-2791]:Build spi deployment for endpoints deployment descriptor
Modified:
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/java/org/jboss/webservices/integration/deployers/deployment/WSDeploymentBuilder.java
===================================================================
---
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/java/org/jboss/webservices/integration/deployers/deployment/WSDeploymentBuilder.java 2010-04-21
02:42:37 UTC (rev 12057)
+++
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/java/org/jboss/webservices/integration/deployers/deployment/WSDeploymentBuilder.java 2010-04-21
02:46:17 UTC (rev 12058)
@@ -97,6 +97,8 @@
EndpointsMetaData endpointsMetaData = ASHelper.getRequiredAttachment(unit,
EndpointsMetaData.class);
dep.addAttachment(EndpointsMetaData.class, endpointsMetaData);
+ dep.setRuntimeClassLoader(unit.getClassLoader());
+ unit.addAttachment(Deployment.class, dep);
}
}
@@ -105,8 +107,7 @@
SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
DeploymentModelFactory deploymentModelFactory =
spiProvider.getSPI(DeploymentModelFactory.class);
Deployment dep = deploymentModelFactory.newDeployment(unit.getSimpleName(),
unit.getClassLoader());
- //There is no SPI Service and Endpoint created and also there is no DeploymentType
- //TODO:Review it if add deploymentType can make things easy
+ //There is no SPI Endpoint created and also there is no DeploymentType
return dep;
}
}
Modified:
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml
===================================================================
---
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml 2010-04-21
02:42:37 UTC (rev 12057)
+++
container/jboss50/branches/jbossws-jboss510-jms-integration/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml 2010-04-21
02:46:17 UTC (rev 12058)
@@ -141,6 +141,7 @@
<property name="requires">EndpointName</property>
<property name="provides">RegisteredEndpoint</property>
<property name="relativeOrder">35</property> <!--
[JBDEPLOY-201] workaround -->
+ <property name="processEndpointDeployment">true</property>
</bean>
<bean name="WSURLPatternDeploymentAspect"
class="org.jboss.wsf.framework.deployment.URLPatternDeploymentAspect">
Show replies by date