Class RepositoryItemWriterBuilder.RepositoryMethodReference<T>
- java.lang.Object
- org.springframework.batch.item.data.builder.RepositoryItemWriterBuilder.RepositoryMethodReference<T>
- Type Parameters:
T
- The type of repository that will be used by the writer. The class must not be final.
- Enclosing class:
- RepositoryItemWriterBuilder<T>
public static class RepositoryItemWriterBuilder.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 writer.
Constructor Summary
Constructors Constructor Description RepositoryMethodReference(org.springframework.data.repository.CrudRepository<?,?> repository)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
methodIs()
The proxy returned prevents actual method execution and is only used to gather, information about the method.
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