Class Ref<T>

  • public abstract class Ref<T>
    extends Object
    A reference to an object that may change.

    This is the base class used to access a backend object with an associated observer notified each time this associated object changes. Associated object may be null it the corresponding backend object doesn't exists yet or has been removed. Observer is notified when the backend object is created or removed, and when the ref is created if the backend object exists.

    • Constructor Detail

      • Ref

        public Ref()
    • Method Detail

      • get

        public abstract T get()
        Gets the referenced object.
        referenced object
      • close

        public abstract void close()
        Closes the ref.