@Deprecated public class ContentEnricherServiceImpl extends DefaultComponent implements ContentEnricherService
Modifier and Type | Field and Description |
---|---|
static List<Class<?>> |
DEPRECATED_KNOWN_ENRICHERS
Deprecated.
|
static String |
ENRICHER
Deprecated.
|
protected static org.apache.commons.logging.Log |
log
Deprecated.
|
static String |
NXCONTENT_CATEGORY_HEADER
Deprecated.
|
lastModified
Constructor and Description |
---|
ContentEnricherServiceImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Deprecated.
Activates the component.
|
List<ContentEnricher> |
getEnrichers(String category,
RestEvaluationContext context)
Deprecated.
Gets contributors for a category
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
Deprecated.
|
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
Deprecated.
|
void |
writeContext(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
Write some JSon for a given evaluation context.
|
applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final String NXCONTENT_CATEGORY_HEADER
protected static final org.apache.commons.logging.Log log
public static final String ENRICHER
public static List<Class<?>> DEPRECATED_KNOWN_ENRICHERS
public ContentEnricherServiceImpl()
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 registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public List<ContentEnricher> getEnrichers(String category, RestEvaluationContext context)
ContentEnricherService
Only contributors available in the given context are returned
getEnrichers
in interface ContentEnricherService
public void writeContext(org.codehaus.jackson.JsonGenerator jg, RestEvaluationContext ec) throws org.codehaus.jackson.JsonGenerationException, IOException
ContentEnricherService
writeContext
in interface ContentEnricherService
org.codehaus.jackson.JsonGenerationException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.