Package org.nuxeo.ecm.core.event.pipe
Class AbstractEventBundlePipe<T>
java.lang.Object
org.nuxeo.ecm.core.event.pipe.AbstractEventBundlePipe<T>
- All Implemented Interfaces:
EventBundlePipe
- Direct Known Subclasses:
LocalEventBundlePipe
- Since:
- 8.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EventBundlefilterBundle(EventBundle events) protected StringgetName()voidInitialize the Pipe when Nuxeo Event Service startsprotected abstract Tmarshall(EventBundle events) de-hydrate the EventBundle to make it suitable for transmission on a Busprotected voidpreProcessBundle(EventBundle events) protected abstract voidDo the actual push on the BusvoidsendEventBundle(EventBundle events) Send anEventBundleinside the pipevoidshutdown()Shutdown callback when theEventServicestopsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.event.pipe.EventBundlePipe
waitForCompletion
-
Field Details
-
name
-
params
-
-
Constructor Details
-
AbstractEventBundlePipe
public AbstractEventBundlePipe()
-
-
Method Details
-
initPipe
Description copied from interface:EventBundlePipeInitialize the Pipe when Nuxeo Event Service starts- Specified by:
initPipein interfaceEventBundlePipe- Parameters:
name- the name as defined in the XMap descriptorparams- the parameters as defined in the XMap descriptor
-
getName
-
getParameters
-
sendEventBundle
Description copied from interface:EventBundlePipeSend anEventBundleinside the pipe- Specified by:
sendEventBundlein interfaceEventBundlePipe
-
filterBundle
-
preProcessBundle
-
marshall
de-hydrate the EventBundle to make it suitable for transmission on a Bus -
send
Do the actual push on the Bus -
shutdown
Description copied from interface:EventBundlePipeShutdown callback when theEventServicestops- Specified by:
shutdownin interfaceEventBundlePipe- Throws:
InterruptedException
-