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, unregisterExtension
protected 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 DefaultComponent
public 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 void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Copyright © 2015 Nuxeo SA. All rights reserved.