Hello Guys, I'm wondering, in a Tapestry Webapp scenario, how is it possible to obtain a reference to the IOC Registry for a (or all) currently loaded module(s). I know about RegistryBuilder but build() says to only call it once. Looking at the source code, it does not seem to be caching the Registries. Is it at all possible to obtain a reference to Registry that already exists in the same VM?
Here is some background on what I'm trying to do: I need to make a class that implements some stateless validation logic that uses a service that is bound and configured in my tapestry web module. This class cannot be itself under tapestry control because it 's being instantiated by other, also non tapestry code. Since the logic in that class is supposed to execute quickly, it's also not feasible to perform a registry build and startup every time. The instances of my class also cannot be cached. Thanks for any tips! Kind Regards, Wulf