Announcement Announcement Module
No announcement yet.
DefaultAdvisorAutoProxyCreator help needed Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultAdvisorAutoProxyCreator help needed

    Hello everybody,
    I am using the DefaultAdvisorAutoProxyCreator to create transaction proxies for my DAO classes. The transaction semantics are declared using the Java5 annotations. It worked fine till I added some more advisors targeting a specific class. Since then I have my new advised (with the new advisor) classes proxied and for the DAO classes I get the message
    INFO: Bean 'BaseDAO' is not eligible for getting processed by all BeanPostProcessors (for example: not el
    igible for auto-proxying).

    After I removed the new Advisor from the configuration, the Transaction proxy is being created again. Does anyone have idea if this is a bug or am I doing something wrong?

    Thanks in advance.

    P.S. Below is snippet of my applicationContext.xml

    <bean id="DefaultAdvisorAutoProxyCreator"
    class="org.springframework.aop.framework.autoproxy .DefaultAdvisorAutoProxyCreator" />

    <bean id="transactionInterceptor"
    class="org.springframework.transaction.interceptor .TransactionInterceptor">
    <property name="transactionManager" ref="txManager" />
    <property name="transactionAttributeSource">
    class="org.springframework.transaction.annotation. AnnotationTransactionAttributeSource" />
    <!-- BaseDAO: Hibernate implementation -->
    <bean id="BaseDAO"
    <property name="sessionFactory">
    <ref local="sessionFactory" />

    <bean id="BuildEventNotifierAdvisor"
    class=" dPointcutAdvisor">
    <property name="advice">
    <ref local="BuildEventFiringInterceptor" />
    <property name="pattern">

    <bean id="BuildEventFiringInterceptor"
    class=" eptor">
    <property name="eventManager">
    <ref local="EventManager" />