Interface PersistenceSourceSupplier<D>

All Superinterfaces:
ObjectSwizzling
All Known Subinterfaces:
PersistenceManager<D>, ViewerBinaryPersistenceManager
All Known Implementing Classes:
PersistenceManager.Default, ViewerBinaryPersistenceManager.Default

public interface PersistenceSourceSupplier<D>
extends ObjectSwizzling
  • Method Summary

    Modifier and Type Method Description
    Object getObject​(long objectId)
    Retrieves the instance associated with the passed objectId.
    PersistenceSource<D> source()  
  • Method Details

    • getObject

      Object getObject​(long objectId)
      Description copied from interface: ObjectSwizzling
      Retrieves the instance associated with the passed objectId. Retrieving means guaranteeing that the associated instance is returned. If it does not yet exist, it will be created from persisted data, including all non-lazily referenced objects it is connected to.
      Specified by:
      getObject in interface ObjectSwizzling
      Parameters:
      objectId - the objectId defining which instance to return.
      Returns:
      the instance associated with the passed objectId.
    • source

      PersistenceSource<D> source()