Package org.springframework.batch.core.configuration

# Interface JobLocator

All Known Subinterfaces:
  `JobRegistry`, `ListableJobLocator`

All Known Implementing Classes:
  `MapJobRegistry`

public interface JobLocator
A runtime service locator interface for retrieving job configurations by `name`.

Author:
  Dave Syer, Mahmoud Ben Hassine

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Job`
  `getJob(String name)`
  Locates a `Job` at runtime.

- ## Method Details

  - ### getJob

    Job getJob(@Nullable String name) throws NoSuchJobException
    Locates a `Job` at runtime.
    Parameters:
      `name` - the name of the `Job` which should be unique
    Returns:
      a `Job` identified by the given name
    Throws:
      `NoSuchJobException` - if the required configuration can not be found.