Created
August 24, 2011 12:51
-
-
Save igm/1167990 to your computer and use it in GitHub Desktop.
Implementing ApplicationContextAware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo; | |
import org.springframework.context.ApplicationContextAware; | |
public class MyBeanImpl implements ApplicationContextAware { | |
private ApplicationContext ctx; | |
public void setApplicationContext(ApplicationContext context) { | |
this.ctx=context; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment