public class BulkComponent extends DefaultComponent implements BulkAdminService
Modifier and Type | Field and Description |
---|---|
static String |
ACTIONS_XP |
protected Queue<BulkActionDescriptor> |
actionsRegistry |
static String |
BULK_KV_STORE_NAME |
static String |
BULK_LOG_MANAGER_NAME |
protected BulkService |
bulkService |
lastModified
Constructor and Description |
---|
BulkComponent() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getActions()
Returns a list of declared bulk actions.
|
<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) |
void |
start(ComponentContext context)
Start the component.
|
void |
stop(ComponentContext context)
Stop the component.
|
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public static final String BULK_LOG_MANAGER_NAME
public static final String BULK_KV_STORE_NAME
public static final String ACTIONS_XP
protected Queue<BulkActionDescriptor> actionsRegistry
protected BulkService bulkService
public BulkComponent()
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 registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void start(ComponentContext context)
Component
start
in interface Component
start
in class DefaultComponent
public void stop(ComponentContext context)
Component
stop
in interface Component
stop
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public List<String> getActions()
BulkAdminService
getActions
in interface BulkAdminService
Copyright © 2018 Nuxeo. All rights reserved.