feat: Bump version to 2.5.10 in pom.xml and add @Lazy annotation to allAgents in AgentExecutorService

This commit is contained in:
extio-de
2026-04-29 22:40:02 +02:00
parent eaaf9837b3
commit 4fd4c7ab94
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import de.extio.lmlib.client.Client;
import de.extio.lmlib.client.ClientService;
@@ -29,6 +30,7 @@ public class AgentExecutorService implements InitializingBean, DisposableBean {
@Autowired
private ClientService clientService;
@Lazy
@Autowired(required = false)
private List<BaseAgent> allAgents;