Details

      Description

      it should be possible to execute startup logic via an observer.

      e.g.:
      @ApplicationScoped
      public class StartupObserver
      {
      @Inject
      private Logger logger;

      protected void logApplicationProperties(@Observes StartupEvent startupEvent)
      {
      for(Map.Entry<String, Serializable> property : startupEvent.getApplicationProperties().entrySet())

      { this.logger.info("key: " + property.getKey() + " value: " + property.getValue()); }

      }
      }

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Gerhard Petracek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development