Skip to content

Commit

Permalink
https://issues.jboss.org/browse/AS7-2983
Browse files Browse the repository at this point in the history
  • Loading branch information
weli authored and stuartwdouglas committed Dec 30, 2011
1 parent 03bc6c2 commit cecddbb
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -39,6 +39,7 @@ public class JaxrsIntegrationProcessor implements DeploymentUnitProcessor {
private static final String SERVLET_INIT_PARAM = "javax.ws.rs.Application";
public static final String RESTEASY_SCAN = "resteasy.scan";
public static final String RESTEASY_SCAN_RESOURCES = "resteasy.scan.resources";
public static final String RESTEASY_SCAN_PROVIDERS = "resteasy.scan.providers";

@Override
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
Expand Down Expand Up @@ -76,6 +77,9 @@ public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitPro
} else if (param.getParamName().equals(RESTEASY_SCAN_RESOURCES)) {
it.remove();
JAXRS_LOGGER.resteasyScanWarning(RESTEASY_SCAN_RESOURCES);
} else if (param.getParamName().equals(RESTEASY_SCAN_PROVIDERS)) {
it.remove();
JAXRS_LOGGER.resteasyScanWarning(RESTEASY_SCAN_PROVIDERS);
}
}
}
Expand Down

0 comments on commit cecddbb

Please sign in to comment.