upgrading to spring 3.0 problem with interceptorNames

Posted by mkoryak on Stack Overflow See other posts from Stack Overflow or by mkoryak
Published on 2010-12-30T18:16:20Z Indexed on 2010/12/30 18:54 UTC
Read the original article Hit count: 252

Filed under:
|

I am trying to upgrade to Spring 3.0 and i have the following issues:

  • Finding the dependencies. People recommend using maven, but id rather not try to learn how to use maven/install it if the jars are available somewhere for download.
  • The following bean declaration is now longer valid but i dont know how to fix it:
<bean id="service"
   class="org.springframework.aop.framework.ProxyFactoryBean">

  <property name="proxyInterfaces" value="com.service.SomeService" /> 
  <property name="target">
        <bean class="com.service.SomeServiceImpl">
        </bean>
  </property>
  <property name="interceptorNames"> 
    <list> 
      <value>hibernateInterceptor</value> 

    </list> 
  </property>
</bean>

The complaint is that <property name="interceptorNames"> is no longer supported and should be done some other way

© Stack Overflow or respective owner

Related posts about spring

Related posts about spring-3