public class TrashServiceImpl extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
MIGRATION_ID |
static String |
MIGRATION_STATE_LIFECYCLE |
static String |
MIGRATION_STATE_PROPERTY |
static String |
MIGRATION_STEP_LIFECYCLE_TO_PROPERTY |
static ComponentName |
NAME |
protected TrashService |
trashService |
lastModified, name
Constructor and Description |
---|
TrashServiceImpl() |
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.
|
void |
invalidateTrashServiceImplementation()
Called when the migration status changes, to recompute the new service.
|
protected TrashService |
recomputeTrashService() |
activate, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final ComponentName NAME
public static final String MIGRATION_ID
public static final String MIGRATION_STATE_LIFECYCLE
public static final String MIGRATION_STATE_PROPERTY
public static final String MIGRATION_STEP_LIFECYCLE_TO_PROPERTY
protected volatile TrashService trashService
public TrashServiceImpl()
protected TrashService recomputeTrashService()
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 invalidateTrashServiceImplementation()
Copyright © 2019 Nuxeo. All rights reserved.