Package org.apache.tapestry5.ioc.internal.services

# Class RegistryStartup

java.lang.Object
org.apache.tapestry5.ioc.internal.services.RegistryStartup

All Implemented Interfaces:
  `Runnable`

public class RegistryStartup extends Object implements 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

  Constructors
  Constructor
  Description
  `RegistryStartup(org.slf4j.Logger logger, List<Runnable> configuration)`

- ## Method Summary

  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 Details

  - ### RegistryStartup

    public RegistryStartup(org.slf4j.Logger logger, List<Runnable> configuration)

- ## Method Details

  - ### 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 `Runnable`