staic method « Bean « Spring Q&A





1. How can I inject a bean to staic method?    forum.springsource.org

I mean how I can do the following: private Object someBean; public void setSomeBean(Object someBean) { this.someBean= someBean; } public static Test suite() { // use someBean within static method return ...