Annotation Interface Component


@Target(TYPE) @Retention(RUNTIME) public @interface Component
Русский: Указывает что проаннотированный класс является компонентом и должен быть помещен в граф зависимостей контейнера и может использоваться для внедрения зависимостей.
Является Singleton всегда, то есть дает гарантию, что у класса будет всего один экземпляр класса.
English: Indicates that the annotated class is a component and should be placed in the dependency graph of the container and can be used to enforce dependencies.
Is always Singleton, that is, it provides a guarantee that the class will have only one instance of the class.

Пример / Example:
  
  @Component
  public final class MyService { }