Author: asoldano
Date: 2014-09-29 05:37:03 -0400 (Mon, 29 Sep 2014)
New Revision: 18953
Modified:
container/wildfly80/branches/jbossws-wildfly800/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/wildfly80/branches/jbossws-wildfly800/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java
===================================================================
---
container/wildfly80/branches/jbossws-wildfly800/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java 2014-09-29
09:22:03 UTC (rev 18952)
+++
container/wildfly80/branches/jbossws-wildfly800/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSIntegrationProcessorJAXWS_POJO.java 2014-09-29
09:37:03 UTC (rev 18953)
@@ -35,6 +35,8 @@
import java.util.List;
import org.jboss.as.ee.component.ComponentDescription;
+import org.jboss.as.ee.structure.DeploymentType;
+import org.jboss.as.ee.structure.DeploymentTypeMarker;
import org.jboss.as.server.deployment.DeploymentUnit;
import org.jboss.as.server.deployment.DeploymentUnitProcessingException;
import org.jboss.as.server.deployment.annotation.CompositeIndex;
@@ -62,6 +64,9 @@
@Override
protected void processAnnotation(final DeploymentUnit unit, final ClassInfo
classInfo, final AnnotationInstance wsAnnotation, final CompositeIndex compositeIndex)
throws DeploymentUnitProcessingException {
+ if (!DeploymentTypeMarker.isType(DeploymentType.WAR, unit)) {
+ return;
+ }
if (isEjb3(classInfo)) {
// Don't create component description for EJB3 endpoints.
// There's already one created by EJB3 subsystem.
Show replies by date