Class EventStreamExpressionFactoryProducer
java.lang.Object
com.inductiveautomation.eventstream.gateway.expression.EventStreamExpressionFactoryProducer
The
EventStreamExpressionFactoryProducer class is responsible for producing instances of
GatewayEventStreamExpressionFactory, which facilitate the creation and management of
event stream expressions in the Ignition framework. This class encapsulates necessary
dependencies such as an EncoderRegistry, a CommonContext, and a function to
retrieve ScriptManager instances for specific projects.-
Constructor Summary
ConstructorsConstructorDescriptionEventStreamExpressionFactoryProducer(EncoderRegistry encoders, CommonContext context, Function<String, ScriptManager> scriptManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateFactory(String project) Creates and returns a new instance ofGatewayEventStreamExpressionFactory, which is responsible for creating and managing event stream expressions in the Ignition framework.
-
Constructor Details
-
EventStreamExpressionFactoryProducer
public EventStreamExpressionFactoryProducer(EncoderRegistry encoders, CommonContext context, Function<String, ScriptManager> scriptManager)
-
-
Method Details
-
createFactory
Creates and returns a new instance ofGatewayEventStreamExpressionFactory, which is responsible for creating and managing event stream expressions in the Ignition framework. This method initializes the necessary context and dependencies for the factory.- Parameters:
project- The name of the project for which the factory is being created. Used to fetch the appropriateScriptManagerfor the given project.- Returns:
- A new
GatewayEventStreamExpressionFactoryinstance configured with the provided project context and encoders.
-