XMLWordPrintableJSON

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()); }

      }
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: