Class RepositoryItemReaderBuilder.RepositoryMethodReference<T>

  • Type Parameters:
    T - The type of repository that will be used by the reader. The class must not be final.
    Enclosing class:
    RepositoryItemReaderBuilder<T>

    public static class RepositoryItemReaderBuilder.RepositoryMethodReference<T>
    extends java.lang.Object
    Establishes a proxy that will capture a the Repository and the associated methodName that will be used by the reader.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      RepositoryMethodReference​(org.springframework.data.repository.PagingAndSortingRepository<?,​?> repository) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      TmethodIs()
      The proxy returned prevents actual method execution and is only used to gather, information about the method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryMethodReference

        public RepositoryMethodReference​(org.springframework.data.repository.PagingAndSortingRepository<?,​?> repository)
    • Method Detail

      • methodIs

        public T methodIs()
        The proxy returned prevents actual method execution and is only used to gather, information about the method.
        Returns:
        T is a proxy of the object passed in in the constructor