Class EHouseApplication

java.lang.Object
ru.gentoos.ehouse.EHouseApplication

@SpringBootApplication public class EHouseApplication extends Object
e-house smart-home daemon — Java Spring entry point.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    void
    Сообщение об остановке (аналог KeyboardInterrupt в Python).
    void
    Стартовое сообщение в стиле JavaMailer/PriceLoader/ToDo/LnF.
    static String
    Возвращает версию приложения из version.properties (для ProductsLog).

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EHouseApplication

      public EHouseApplication()
  • Method Details

    • main

      public static void main(String[] args)
    • onStarted

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void onStarted()
      Стартовое сообщение в стиле JavaMailer/PriceLoader/ToDo/LnF.
    • onClosed

      @EventListener(org.springframework.context.event.ContextClosedEvent.class) public void onClosed()
      Сообщение об остановке (аналог KeyboardInterrupt в Python).
    • version

      public static String version()
      Возвращает версию приложения из version.properties (для ProductsLog).
      Returns:
      версия или UNKNOWN