Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

yunglin - rename service 'Application' to 'JerseyRootResources' to pr…

…event naming collision.
  • Loading branch information...
commit 2ebbb5860dbdedd7e157fbf099bd7de5bd84b6b9 1 parent f7b299f
@yunglin authored
View
4 src/main/java/com/bluetangstudio/shared/jersey/services/JerseyModule.java
@@ -64,7 +64,7 @@ public void contributeHttpServletRequestHandler(OrderedConfiguration<HttpServlet
*/
@Scope(ScopeConstants.DEFAULT)
@EagerLoad
- public static Application buildApplication(Collection<Object> configurations) {
+ public static Application buildJerseyRootResources(Collection<Object> configurations) {
return new TapestryEnabledApplication(configurations);
}
@@ -72,7 +72,7 @@ public static Application buildApplication(Collection<Object> configurations) {
@EagerLoad
public static HttpServletRequestFilter buildJerseyHttpServletRequestFilter(
@Inject @Symbol(JerseySymbols.REQUEST_PATH_PREFIX) String pathPrefix,
- Application jaxwsApplication,
+ @Service("JerseyRootResources") Application jaxwsApplication,
ApplicationGlobals applicationGlobal) throws ServletException {
ServletContainer jaxwsContainer = new ServletContainer(jaxwsApplication);
Please sign in to comment.
Something went wrong with that request. Please try again.