Interface StreamFactoryRegistry

  • All Known Implementing Classes:
    LocalPool

    public interface StreamFactoryRegistry
    This is interface for adding intercept and fallback factories. this should be use only for test purpose. Intercept means that the factory will have a possibility to create publisher before standard injected factories. Fallback means that the factory will act after all others stream factories.
    • Method Detail

      • addIntercept

        void addIntercept​(StreamFactory factory)
        Add a given factory as an interceptor.Intercept means that the factory will have a possibility to create publisher before standard injected factories.
        Parameters:
        factory -
      • addFallback

        void addFallback​(StreamFactory factory)
        Add a given factory as a falback. Fallback means that the factory will act after all others stream factories.
        Parameters:
        factory -