The application discloses a kind of dependency lookup method,
system, equipment and storage medium, it is related to computer technical field, comprising: the target
annotation is defined, so that the target
annotation can declare each method in warehouse interface;When application starts, the warehouse interface is scanned by Spring Data JPA, obtains corresponding scanning result, according to the scanning result, whether the method in the warehouse interface is declared by the target
annotation;If declared by the target annotation, information is sent to the Spring Data JPA notification, and according to the
return type of the method in the warehouse interface and the name declared in the target annotation, corresponding registered Bean object is obtained from Spring container, and the Bean object is returned, to complete dependency lookup.Therefore, the application can more flexibly realize dependency lookup.