Class RegistryStartup

  • All Implemented Interfaces:

    public class RegistryStartup
    extends java.lang.Object
    implements java.lang.Runnable
    Startup service for Tapestry IoC: automatically invoked at registry startup to execute a series of operations, via its ordered configuration of Runnable objects.
    • Constructor Summary

      Constructor Description
      RegistryStartup​(org.slf4j.Logger logger, java.util.List<java.lang.Runnable> configuration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Invokes run() on each contributed object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegistryStartup

        public RegistryStartup​(org.slf4j.Logger logger,
                               java.util.List<java.lang.Runnable> configuration)
    • Method Detail

      • run

        public void run()
        Invokes run() on each contributed object. If the object throws a runtime exception, it is logged but startup continues anyway. This method may only be invoked once.
        Specified by:
        run in interface java.lang.Runnable