Skip to content

Commit

Permalink
[APPS-3035] added lazy initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
purusothaman-mm committed Oct 3, 2024
1 parent 1e1891d commit d3e707a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.springframework.context.annotation.Lazy;

@SpringBootApplication
public class Application implements ApplicationRunner, ExitCodeGenerator
Expand All @@ -46,6 +47,7 @@ public class Application implements ApplicationRunner, ExitCodeGenerator
@Autowired
private InventoryCommandRunner inventoryCommandRunner;
@Autowired
@Lazy
private AnalyserCommandRunner analyserCommandRunner;

public static void main(String[] args)
Expand Down

0 comments on commit d3e707a

Please sign in to comment.