spring - difference between proxyMode of @scope annotaion and scopedProxy of context component scan.? -


is there difference between proxymode of @scope annotaion , scopedproxy of context component scan.

i know latter enable proxies in classes in specified package value under context component scan.

i want know whether there functional difference between 2 or not or former(proxymode of @scope used enable proxy on particular bean)

the functionality behind both approaches same, according to:

http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/annotation/scope.html


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -