Package org.apache.solr.rest
Interface ManagedResourceObserver
-
- All Known Implementing Classes:
BaseManagedTokenFilterFactory
,ManagedStopFilterFactory
,ManagedSynonymFilterFactory
,ManagedSynonymGraphFilterFactory
public interface ManagedResourceObserver
Allows a Solr component to register as an observer of important ManagedResource events, such as when the managed data is loaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onManagedResourceInitialized(NamedList<?> args, ManagedResource res)
Event notification raised once during core initialization to notify listeners that a ManagedResource is fully initialized.
-
-
-
Method Detail
-
onManagedResourceInitialized
void onManagedResourceInitialized(NamedList<?> args, ManagedResource res) throws SolrException
Event notification raised once during core initialization to notify listeners that a ManagedResource is fully initialized. The most common implementation of this method is to pull the managed data from the concrete ManagedResource and use it to initialize an analysis component. For example, the ManagedStopFilterFactory implements this method to receive the list of managed stop words needed to create a CharArraySet for the StopFilter.- Throws:
SolrException
-
-