Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component
- public class EnvConfig {
- //...
- }
- public class EmployeeBean {
- @Autowired
- EnvConfig envConfig;
- //...
- public void getSpecialInfo()
- {
- envConfig.method1();
- envConfig.method2();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement