Package org.streamingpool.core.service
Interface StreamFactoryRegistry
-
- All Known Implementing Classes:
LocalPool
public interface StreamFactoryRegistryThis 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddFallback(StreamFactory factory)Add a given factory as a falback.voidaddIntercept(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.
-
-
-
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-
-
-