Package org.apache.tapestry5.ioc
Interface Registry
- All Superinterfaces:
ObjectLocator
- All Known Subinterfaces:
InternalRegistry
- All Known Implementing Classes:
RegistryImpl
,RegistryWrapper
Public access to the IoC service registry.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked at the end of a request to discard any thread-specific information accumulated during the current request.void
Invoked to eagerly load services marked with theEagerLoad
annotation, and to execute all contributions to the Startup service.void
shutdown()
Shuts down a Registry instance.Methods inherited from interface org.apache.tapestry5.commons.ObjectLocator
autobuild, autobuild, getObject, getService, getService, getService, proxy
-
Method Details
-
cleanupThread
void cleanupThread()Invoked at the end of a request to discard any thread-specific information accumulated during the current request.- See Also:
-
shutdown
void shutdown()Shuts down a Registry instance. Notifies all listeners that the registry has shutdown. Further method invocations on the Registry are no longer allowed, and the Registry instance should be discarded.- See Also:
-
performRegistryStartup
void performRegistryStartup()Invoked to eagerly load services marked with theEagerLoad
annotation, and to execute all contributions to the Startup service.
-