Package org.apache.solr.handler.api
Class ApiRegistrar
- java.lang.Object
-
- org.apache.solr.handler.api.ApiRegistrar
-
public class ApiRegistrar extends Object
Registers annotation-based V2 APIs with anApiBag
Historically these APIs were registered directly by code in
CoreContainer
, but as the number of annotation-based v2 APIs grew this became increasingly unwieldy. SoApiRegistrar
serves as a single place where all APIs under a particular path can be registered together.
-
-
Constructor Summary
Constructors Constructor Description ApiRegistrar()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
registerCollectionApis(ApiBag apiBag, CollectionsHandler collectionsHandler)
static void
registerShardApis(ApiBag apiBag, CollectionsHandler collectionsHandler)
-
-
-
Method Detail
-
registerCollectionApis
public static void registerCollectionApis(ApiBag apiBag, CollectionsHandler collectionsHandler)
-
registerShardApis
public static void registerShardApis(ApiBag apiBag, CollectionsHandler collectionsHandler)
-
-