public class FileEventTracker extends DefaultComponent
ThreadEventHandler
Modifier and Type | Class and Description |
---|---|
static class |
FileEventTracker.EnableThreadsTracking |
Constructor and Description |
---|
FileEventTracker() |
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.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
int |
getApplicationStartedOrder()
The component notification order for
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext) . |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
static void |
registerProtectedPath(String path)
Registers a protected path under which files should not be deleted
|
getAdapter, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public static void registerProtectedPath(String path)
path
- 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 int getApplicationStartedOrder()
Component
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext)
.
Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
getApplicationStartedOrder
in interface Component
getApplicationStartedOrder
in class DefaultComponent
public void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
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 registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
Copyright © 2015 Nuxeo SA. All rights reserved.