org.springframework.data.mongodb.core.convert

Interface LazyLoadingProxy



  • public interface LazyLoadingProxy
    Allows direct interaction with the underlying DefaultDbRefResolver.LazyLoadingInterceptor.
    Since:
    1.5
    Author:
    Thomas Darimont, Christoph Strobl, Mark Paluch
    • Method Detail

      • getTarget

        Object getTarget()
        Initializes the proxy and returns the wrapped value.
        Returns:
        Since:
        1.5
      • toDBRef

        @Nullable
        com.mongodb.DBRef toDBRef()
        Returns the DBRef represented by this LazyLoadingProxy, may be null.
        Returns:
        Since:
        1.5