# Class RunnerService

java.lang.Object
com.google.adk.web.service.RunnerService

@Component public class RunnerService extends Object
Service for creating and caching Runner instances.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RunnerService(AgentLoader agentProvider, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, List<BasePlugin> extraPlugins)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Runner`
  `getRunner(String appName)`
  Gets the Runner instance for a given application name.
  `void`
  `onAgentUpdated(String agentName)`
  Called by hot loader when agents are updated

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RunnerService

    public RunnerService(AgentLoader agentProvider, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, @Autowired(required=false) @Qualifier("extraPlugins") List<BasePlugin> extraPlugins)

- ## Method Details

  - ### getRunner

    public Runner getRunner(String appName)
    Gets the Runner instance for a given application name. Handles potential agent engine ID overrides.
    Parameters:
      `appName` - The application name requested by the user.
    Returns:
      A configured Runner instance.

  - ### onAgentUpdated

    public void onAgentUpdated(String agentName)
    Called by hot loader when agents are updated