gerlowskija commented on code in PR #975:
URL: https://github.com/apache/solr/pull/975#discussion_r959808595


##########
solr/core/src/java/org/apache/solr/core/PluginBag.java:
##########
@@ -27,8 +27,7 @@
 import org.apache.solr.common.util.StrUtils;
 import org.apache.solr.handler.RequestHandlerBase;
 import org.apache.solr.handler.component.SearchComponent;
-import org.apache.solr.jersey.CoreContainerApp;
-import org.apache.solr.jersey.SolrCoreApp;
+import org.apache.solr.jersey.JerseyApplications;

Review Comment:
   Yep!
   
   An "Application" in JAX-RS is pretty far from the colloquial usage.  It's 
not a whole process or package or something runnable - it's more like Solr's 
existing "PluginBag" abstraction - a collection of endpoints and config needed 
to look them up and invoke them.
   
   "JerseyApplications" is plural because it holds multiple of these 
application configs.  There are two currently: `CoreContainerApp` is a 
registration point for our container/cluster level APIs, and `SolrCoreApp` 
handles per-core API registration.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to