public static class RestManager.Registry extends Object
Constructor and Description |
---|
Registry() |
Modifier and Type | Method and Description |
---|---|
Collection<org.apache.solr.rest.RestManager.ManagedResourceRegistration> |
getRegistered()
Get a view of the currently registered resources.
|
Set<String> |
getReservedEndpoints()
Returns the set of non-registrable endpoints.
|
void |
registerManagedResource(String resourceId,
Class<? extends ManagedResource> implClass,
ManagedResourceObserver observer)
Register the need to use a ManagedResource; this method is typically called
by a Solr component during core initialization to register itself as an
observer of a specific type of ManagedResource.
|
public Set<String> getReservedEndpoints()
public Collection<org.apache.solr.rest.RestManager.ManagedResourceRegistration> getRegistered()
public void registerManagedResource(String resourceId, Class<? extends ManagedResource> implClass, ManagedResourceObserver observer)
resourceId
- - An endpoint in the Rest API to manage the resource; must
start with /config and /schema.implClass
- - Class that implements ManagedResource.observer
- - Solr component that needs to know when the data being managed
by the ManagedResource is loaded, such as a TokenFilter.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.