public class ReportComponent extends DefaultComponent
Modifier and Type | Class and Description |
---|---|
class |
ReportComponent.Management |
static interface |
ReportComponent.Runner |
Modifier and Type | Field and Description |
---|---|
static ReportComponent |
instance |
lastModified
Constructor and Description |
---|
ReportComponent() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
protected void |
applicationStopped(ComponentContext context) |
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
deactivate, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
public static ReportComponent instance
public ReportComponent()
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 applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
protected void applicationStopped(ComponentContext context)
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public <T> T getAdapter(Class<T> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class DefaultComponent
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classCopyright © 2016 Nuxeo SA. All rights reserved.