org.apache.tapestry5.ioc.internal.services
Class RegistryStartup

java.lang.Object
  extended by 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
RegistryStartup(org.slf4j.Logger logger, List<Runnable> configuration)
           
 
Method Summary
 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,
                       List<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 Runnable


Copyright © 2003-2012 The Apache Software Foundation.