Different types of AutoProxying

Explain the different types of AutoProxying.

BeanNameAutoProxyCreator : This proxy is used to identify beans to proxy through a list of names. It checks the matches that are direct, “xxx” and “*xxx”.

DefaultAdvisorAutoProxyCreator : This proxy is the implementation of BeanPostProcessor which creates AOP proxies. These AOP proxies are based on BeanFactory’s all Candidate Advisors. It is a generic class which does not have a specific code to handle any specific aspects.

Metadata autoproxying : The metadata autoproxy is concerned with the possibility to employ annotations in certain classes, like defining transactions. To configure this type of proxies, the source level metadata interpretation and the bean usage that employs those attributes is done by DefaultAdvisorAutoProxyCreator.
What is DataAccessException?
DataAccessException - DataAccessException is an unchecked RuntimeException. These type of exceptions are unforced by users to handle....
What is PreparedStatementCreator?
PreparedStatementCreator - To write data to database, PreparedStatementCreator is the most commonly used interface.....
What is BatchPreparedStatementSetter?
BatchPreparedStatementSetter - Updating more than one row at a time, the BatchPreparedStatementSetter is used...
Post your comment