Package org.nuxeo.ecm.restapi.server
Class RestAPIServiceImpl
- java.lang.Object
-
- org.nuxeo.runtime.model.DefaultComponent
-
- org.nuxeo.ecm.restapi.server.RestAPIServiceImpl
-
- All Implemented Interfaces:
RestAPIService
,Adaptable
,Component
,Extensible
,TimestampedService
@Deprecated public class RestAPIServiceImpl extends DefaultComponent implements RestAPIService
Deprecated.since 2023.0, useClusterActionService
instead- Since:
- 2021.25
-
-
Field Summary
Fields Modifier and Type Field Description protected ClusterActionPubSub
clusterStreamActionPubSub
Deprecated.-
Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
-
Constructor Summary
Constructors Constructor Description RestAPIServiceImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
propagateAction(String action, String param)
Deprecated.Propagate an action to all others nodes in the cluster.void
start(ComponentContext context)
Deprecated.Start the component.void
stop(ComponentContext context)
Deprecated.Stop the component.-
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterContribution, unregisterExtension
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Component
applicationStarted, getApplicationStartedOrder
-
-
-
-
Field Detail
-
clusterStreamActionPubSub
protected ClusterActionPubSub clusterStreamActionPubSub
Deprecated.
-
-
Method Detail
-
start
public void start(ComponentContext context)
Deprecated.Description copied from interface:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
stop
public void stop(ComponentContext context) throws InterruptedException
Deprecated.Description copied from interface:Component
Stop the component.- Specified by:
stop
in interfaceComponent
- Overrides:
stop
in classDefaultComponent
- Throws:
InterruptedException
-
propagateAction
public void propagateAction(String action, String param)
Deprecated.Description copied from interface:RestAPIService
Propagate an action to all others nodes in the cluster.- Specified by:
propagateAction
in interfaceRestAPIService
-
-