Interface BindingStreamEventWriter

  • All Superinterfaces:
    AutoCloseable, Closeable, Flushable

    @Beta
    public interface BindingStreamEventWriter
    extends Closeable, Flushable
    Event Stream Writer for Binding Representation.

    Emmiting Event Stream

    Implementation notes

    This interface is not intended to be implemented by users of generated Binding DTOs but to be used by utilities, which needs to emit NormalizedNode model from Binding DTOs.

    This interface is intended as API definition of facade for real Event / Stream Writer, without explicitly requiring stream writer and related interfaces to be imported by all generated Binding DTOs.

    Existence of this interface in base Java Binding package is required to support runtime generation of users of this interface in OSGI and OSGI-like environment, since this package is only package which is imported by all generated Binding DTOs and wired in OSGI.