Explain BeanNameAutoProxyCreator and DefaultAdvisorAutoProxyCreator classes?

Explain BeanNameAutoProxyCreator and DefaultAdvisorAutoProxyCreator classes?

BeanNameAutoProxyCreator generates proxies for beans that match a set of names. This name matching is similar to the NameMethodMatcherPointcut which allows for wildcard matching on both ends of the name. This is used to apply an aspect or a group of aspects uniformly across a set of beans that follow a similar naming conventions.
The DefaultAdvisorAutoProxyCreator is the more powerful autoproxy creator. Use this class to include it as a bean in your BeanFactory configuration. It implemnts the BeanPostProcessor interface. DefaultAdvisorAutoProxyCreator only works with advisors.

By:Jalees
Date:2002-02-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Spring sub Links

Spring sub interview questions and answers for experienced and fresher