@Deprecated public class ContentEnricherServiceImpl extends DefaultComponent implements ContentEnricherService
Modifier and Type | Field and Description |
---|---|
static String |
ENRICHER
Deprecated.
|
static String |
NXCONTENT_CATEGORY_HEADER
Deprecated.
|
Constructor and Description |
---|
ContentEnricherServiceImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public static final String NXCONTENT_CATEGORY_HEADER
public static final String ENRICHER
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
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, ClientException
ContentEnricherService
writeContext
in interface ContentEnricherService
org.codehaus.jackson.JsonGenerationException
IOException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.