Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component
- public class MyQuartzJob implements Job{
- private restApiConfiguration =null;
- @PostConstruct
- public void init() {
- restApiConfiguration = new ApiConfiguration();
- }
- someOtherMethod(){
- //restApiConfiguration is null here
- restApiConfiguration.getWebServiceUrl();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement