Announcement Announcement Module
Collapse
No announcement yet.
Injecting Spring bean into a non-spring bean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Injecting Spring bean into a non-spring bean

    Hey,

    In my servlet i have created a spring bean MySpringBean and application context is loading on servlet load.

    Now i wish to use MySpringBean in a class that doesnt't have a spring bean.
    How can i get an instance of MySpringBean? or better yet how can i inject it to the class?

    thanks.

  • #2
    http://static.springsource.org/sprin...rence/aop.html

    Comment

    Working...
    X