public abstract class BaseManagedTokenFilterFactory extends TokenFilterFactory implements ResourceLoaderAware, ManagedResourceObserver
| Modifier and Type | Field and Description |
|---|---|
protected String |
handle |
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion| Modifier | Constructor and Description |
|---|---|
protected |
BaseManagedTokenFilterFactory(Map<String,String> args) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends ManagedResource> |
getManagedResourceImplClass()
Let the concrete analysis component determine the ManagedResource implementation.
|
protected abstract String |
getResourceId()
Let the concrete analysis component decide the path it wishes to be managed at.
|
void |
inform(ResourceLoader loader)
Registers an endpoint with the RestManager so that this component can be
managed using the REST API.
|
availableTokenFilters, create, forName, lookupClass, reloadTokenFiltersassureMatchVersion, get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitFileNamesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonManagedResourceInitializedprotected String handle
public void inform(ResourceLoader loader) throws IOException
RestManager needs to initialize
a ManagedResource are available, so this simply registers the need
to be managed at a specific endpoint and lets the RestManager deal with
initialization when ready.inform in interface ResourceLoaderAwareIOExceptionprotected abstract String getResourceId()
protected abstract Class<? extends ManagedResource> getManagedResourceImplClass()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.