use of org.apache.tapestry5.ioc.internal.PerThreadOperationTracker in project tapestry-5 by apache.
the class RegistryBuilder method build.
/**
* Constructs and returns the registry; this may only be done once. The caller is responsible for invoking
* {@link org.apache.tapestry5.ioc.Registry#performRegistryStartup()}.
*/
public Registry build() {
lock.lock();
PerThreadOperationTracker tracker = new PerThreadOperationTracker(loggerSource.getLogger(Registry.class));
RegistryImpl registry = new RegistryImpl(modules, proxyFactory, loggerSource, tracker);
return new RegistryWrapper(registry);
}
Aggregations