-
Mar 16th, 2011, 06:12 AM
#1
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.
-
Mar 16th, 2011, 09:43 AM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules