You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.communication.

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