@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, unregisterExtensionpublic 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)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentpublic List<ContentEnricher> getEnrichers(String category, RestEvaluationContext context)
ContentEnricherServiceOnly contributors available in the given context are returned
getEnrichers in interface ContentEnricherServicepublic void writeContext(org.codehaus.jackson.JsonGenerator jg, RestEvaluationContext ec) throws org.codehaus.jackson.JsonGenerationException, IOException
ContentEnricherServicewriteContext in interface ContentEnricherServiceorg.codehaus.jackson.JsonGenerationExceptionIOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.