public class MetricsServiceImpl extends DefaultComponent implements MetricsService
| Modifier and Type | Field and Description |
|---|---|
static MetricsDescriptor |
config |
protected static String |
CONFIGURATION_EP |
protected static org.apache.commons.logging.Log |
log |
protected com.codahale.metrics.MetricRegistry |
registry |
lastModified| Constructor and Description |
|---|
MetricsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtensionprotected static final org.apache.commons.logging.Log log
protected com.codahale.metrics.MetricRegistry registry
protected static final String CONFIGURATION_EP
public static MetricsDescriptor config
public MetricsServiceImpl()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextpublic void applicationStarted(ComponentContext context)
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentCopyright © 2016 Nuxeo SA. All rights reserved.