Interface ManagedReference

    • Method Detail

      • release

        void release()
        Release the reference. Depending on the implementation this may destroy the underlying object.

        Implementers should take care to make this method idempotent, as it may be called multiple times.

      • getInstance

        Object getInstance()
        Get the object instance.
        Returns:
        the object this reference refers to