Interface PushConnectionFactory
-
- All Superinterfaces:
Function<UI,PushConnection>
,Serializable
,SerializableFunction<UI,PushConnection>
public interface PushConnectionFactory extends SerializableFunction<UI,PushConnection>
Factory that produces instances ofPushConnection
. Produces aPushConnection
for the providedUI
. Factory instances are by default discovered and instantiated usingServiceLoader
. This means that all implementations must have a zero-argument constructor and the fully qualified name of the implementation class must be listed on a separate line in a META-INF/services/com.vaadin.flow.server.communication.PushConnectionFactory file present in the jar file containing the implementation class.For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0