Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.