Interface PushConnectionFactory

All Superinterfaces:
Function<UI,PushConnection>, Serializable, SerializableFunction<UI,PushConnection>

public interface PushConnectionFactory extends SerializableFunction<UI,PushConnection>
Factory that produces instances of PushConnection. Produces a PushConnection for the provided UI. Factory instances are by default discovered and instantiated using ServiceLoader. 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