Annotation Interface KoraApp


@Retention(CLASS) @Target(TYPE) public @interface KoraApp
Русский: Указывает что интерфейс является главным модулем всего приложения который является агрегатом всех других Module и является главной конфигурацией контейнера зависимостей.
English: Indicates that interface is the main module of the entire application which is the aggregate of all other Module and is the main configuration of all dependencies.

Пример / Example:
  
  @KoraApp
  public interface Application {
     default Supplier<String> strSupplier() {
         return () -> "1";
     }
 }
  
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface