Class FromPublisherStageFactory

  • All Implemented Interfaces:
    PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>

    public class FromPublisherStageFactory
    extends java.lang.Object
    implements PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>
    Implementation of the Stage.PublisherStage stage.
    Author:
    Clement Escoffier
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <O> PublisherStage<O> create​(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage stage)
      Creates the instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FromPublisherStageFactory

        public FromPublisherStageFactory()
    • Method Detail

      • create

        public <O> PublisherStage<O> create​(Engine engine,
                                            org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage stage)
        Description copied from interface: PublisherStageFactory
        Creates the instance.
        Specified by:
        create in interface PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.PublisherStage>
        Type Parameters:
        O - output data
        Parameters:
        engine - the reactive engine
        stage - the stage
        Returns:
        the created processing stage, should never be null