Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6771

Replace PostConstruct with ApplicationReadyEvent where appropriate

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend
    • None
    • Not defined

      In the past, we have tended towards using PostConstruct for initialisation of classes. However, at times it might be more appropriate to use the ApplicationReadyEvent instead. We should consider our current usage and update to the EventListener instead where appropriate. Things to consider:

      • PostConstruct failing will prevent application startup. Sometimes this is the desired behaviour
      • ApplicationReady will execute after Optimize is running, so failure will not prevent startup. This might lead to unexpected or undesirable consequences in terms of the state of the application

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: