public class TagServiceImpl extends DefaultComponent
Modifier and Type | Class and Description |
---|---|
static class |
TagServiceImpl.TagServiceStatusChangeNotifier
Callback class to notify of migration status changes.
|
Modifier and Type | Field and Description |
---|---|
static ComponentName |
NAME |
protected TagService |
tagService |
lastModified
Constructor and Description |
---|
TagServiceImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object.
|
int |
getApplicationStartedOrder()
The component notification order for
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext) . |
void |
invalidateTagServiceImplementation()
Called when the migration status changes, to recompute the new service.
|
protected TagService |
recomputeTagService() |
activate, deactivate, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted
public static final ComponentName NAME
protected volatile TagService tagService
public TagServiceImpl()
public 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.
protected TagService recomputeTagService()
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 classpublic void invalidateTagServiceImplementation()
Copyright © 2018 Nuxeo. All rights reserved.