Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Spring 5 alternative to @SpringBeanAutowiringInterceptor

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have been upgrading from Spring 4.3.16.RELEASE to Spring 5.0.0.RELEASE and I realize that @SpringBeanAutowiringInterceptoris no longer available in Spring 5 as the package org.springframework.ejb.interceptor has been removed.
We are using it extensively in our Stateless EJBImpl classes

What is the alternative solution to this approach?
I have gone through but unsure how to use a CDI-Spring bridge.
(Please note that I have gone through several sites to understand its usage but in vain)
Could someone please guide me on this?

Divya R
Ranch Hand
Posts: 138
jQuery Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you'd like to stay with that architecture for some more time, consider using a custom interceptor (based on SpringBeanAutowiringInterceptor source code if you like) managing a local ApplicationContext, possibly in interaction with an EJB 3.1 @Singleton, or a CDI-Spring bridge instead.
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What did you do to solve this issue?
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic