org.apache.tapestry5.ioc

## Interface Registry

- All Superinterfaces:
    ObjectLocator
  All Known Subinterfaces:
    InternalRegistry
  All Known Implementing Classes:
    RegistryImpl, RegistryWrapper

      public interface Registry
      extends ObjectLocator

  Public access to the IoC service registry.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cleanupThread()` Invoked at the end of a request to discard any thread-specific information accumulated during the current request.
    `void` | `performRegistryStartup()` Invoked to eagerly load services marked with the `EagerLoad` annotation, and to execute all contributions to the Startup service.
    `void` | `shutdown()` Shuts down a Registry instance.

    - ### Methods inherited from interface org.apache.tapestry5.ioc.ObjectLocator

      `autobuild, autobuild, getObject, getService, getService, getService, proxy`

- - ### Method Detail

    - #### cleanupThread

          void cleanupThread()

      Invoked at the end of a request to discard any thread-specific information accumulated during the current request.
      See Also:
        `PerthreadManager`, `ThreadCleanupListener`

    - #### 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:
        `RegistryShutdownHub`, `RegistryShutdownListener`

    - #### performRegistryStartup

          void performRegistryStartup()

      Invoked to eagerly load services marked with the `EagerLoad` annotation, and to execute all contributions to the Startup service.

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.