public class RequestFilterService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
protected static String |
FILTER_EXT_POINT |
static ComponentName |
NAME |
protected Map<String,Class> |
requestFilters |
lastModified
Constructor and Description |
---|
RequestFilterService() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
Map<String,Class> |
getRequestFilters() |
SearchRequestFilter |
getRequestFilters(String indices) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final ComponentName NAME
protected static final String FILTER_EXT_POINT
protected Map<String,Class> requestFilters
public RequestFilterService()
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic Map<String,Class> getRequestFilters()
public SearchRequestFilter getRequestFilters(String indices) throws InstantiationException, IllegalAccessException
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
Copyright © 2018 Nuxeo. All rights reserved.