Author: asoldano
Date: 2014-09-29 05:17:59 -0400 (Mon, 29 Sep 2014)
New Revision: 18951
Modified:
container/wildfly81/branches/jbossws-wildfly810/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java
Log:
Backporting [WFLY-3905] Only execute POJO processor on WAR deployments
Modified:
container/wildfly81/branches/jbossws-wildfly810/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java
===================================================================
---
container/wildfly81/branches/jbossws-wildfly810/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java 2014-09-26
13:51:20 UTC (rev 18950)
+++
container/wildfly81/branches/jbossws-wildfly810/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java 2014-09-29
09:17:59 UTC (rev 18951)
@@ -77,6 +77,9 @@
// @Override
protected void processAnnotation(final DeploymentUnit unit, final EEModuleDescription
moduleDescription)
throws DeploymentUnitProcessingException {
+ if (!DeploymentTypeMarker.isType(DeploymentType.WAR, unit)) {
+ return;
+ }
final Map<String, EEModuleClassDescription> classDescriptionMap = new
HashMap<String, EEModuleClassDescription>();
final CompositeIndex index =
unit.getAttachment(Attachments.COMPOSITE_ANNOTATION_INDEX);
for (EEModuleClassDescription classDescritpion :
moduleDescription.getClassDescriptions()) {