# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /Users/foldLeft/Documents/workspace/Jersey/trunk/jersey/jersey-server/src/main/java/com/sun/jersey/server/impl/application # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: WebApplicationImpl.java --- WebApplicationImpl.java Base (BASE) +++ WebApplicationImpl.java Locally Modified (Based On LOCAL) @@ -71,6 +71,7 @@ import com.sun.jersey.api.core.HttpContext; import com.sun.jersey.api.core.HttpResponseContext; import com.sun.jersey.api.core.ResourceConfig; +import com.sun.jersey.api.core.ResourceConfigurator; import com.sun.jersey.api.core.ResourceContext; import com.sun.jersey.api.model.AbstractResource; import com.sun.jersey.api.model.ResourceModelIssue; @@ -560,6 +561,10 @@ resourceConfig.add(drc.getApplication(cpFactory)); } + //Pipelined, decentralized configuration + for(ResourceConfigurator configurator : providerServices.getProviders(ResourceConfigurator.class)) + configurator.configure(this.resourceConfig); + \ No newline at end of file // Validate the resource config this.resourceConfig.validate();