Class RegistryStartup
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.RegistryStartup
-
- All Implemented Interfaces:
java.lang.Runnable
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
Constructors 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.
-
-
-
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 interfacejava.lang.Runnable
-
-