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

Replace PostConstruct with ApplicationReadyEvent where appropriate

    XMLWordPrintable

Details

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

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Salesforce