Accessing Annotated Classes at Runtime
To scan the classpath for annotated classes, consider leveraging the ClassPathScanningCandidateComponentProvider class from the Spring Framework. 이 API는 지정된 기준에 따라 적격 후보자를 검색 할 수있게합니다.
구현
ClassSpathScanningnningCandeCancomponents를 인스턴스화합니다. Object. 예 :
부인 성명: 제공된 모든 리소스는 부분적으로 인터넷에서 가져온 것입니다. 귀하의 저작권이나 기타 권리 및 이익이 침해된 경우 자세한 이유를 설명하고 저작권 또는 권리 및 이익에 대한 증거를 제공한 후 이메일([email protected])로 보내주십시오. 최대한 빨리 처리해 드리겠습니다.
Copyright© 2022 湘ICP备2022001581号-3