Interface ReferenceBinary

  • All Superinterfaces:
    javax.jcr.Binary
    All Known Implementing Classes:
    SimpleReferenceBinary

    @ProviderType
    public interface ReferenceBinary
    extends javax.jcr.Binary
    Referenceable binary. In addition to the normal JCR Binary functionality, implementations of this class contain a secure reference to the storage location of the binary stream. This reference can be used to efficiently copy binaries across servers as long as both the source and target servers use the same underlying storage for binaries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getReference()
      Returns a secure reference to this binary, or null if such a reference is not available.
      • Methods inherited from interface javax.jcr.Binary

        dispose, getSize, getStream, read
    • Method Detail

      • getReference

        java.lang.String getReference()
        Returns a secure reference to this binary, or null if such a reference is not available.
        Returns:
        binary reference, or null