# Uses of Interface
org.apache.tapestry5.ioc.def.ModuleDef

Packages that use ModuleDef
Package
Description
org.apache.tapestry5.http
org.apache.tapestry5.http.internal
org.apache.tapestry5.internal.spring
[INTERNAL USE ONLY] support classes for the Spring IOC; API subject to change
org.apache.tapestry5.ioc
A code-centric, high-performance, simple Inversion of Control container
org.apache.tapestry5.ioc.def
Tapestry IOC service definitions
org.apache.tapestry5.ioc.internal
[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
org.apache.tapestry5.ioc.internal.util
[INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
org.apache.tapestry5.ioc.test
org.apache.tapestry5.spring
Integration of Tapestry with the Spring Inversion Of Control Container
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of ModuleDef in org.apache.tapestry5.http

  Methods in org.apache.tapestry5.http that return ModuleDef
  Modifier and Type
  Method
  Description
  `protected ModuleDef[]`
  TapestryFilter.`provideExtraModuleDefs(javax.servlet.ServletContext context)`
  Overridden in subclasses to provide additional module definitions beyond those normally located.

- ## Uses of ModuleDef in org.apache.tapestry5.http.internal

  Classes in org.apache.tapestry5.http.internal that implement ModuleDef
  Modifier and Type
  Class
  Description
  `class`
  `SyntheticModuleDef`
  A synthetic module definition, used to mix in some additional "pre-built" service configuration contributions.
  Methods in org.apache.tapestry5.http.internal with parameters of type ModuleDef
  Modifier and Type
  Method
  Description
  `void`
  TapestryAppInitializer.`addModules(ModuleDef... moduleDefs)`
  Adds additional modules.

- ## Uses of ModuleDef in org.apache.tapestry5.internal.spring

  Classes in org.apache.tapestry5.internal.spring that implement ModuleDef
  Modifier and Type
  Class
  Description
  `class`
  `SpringModuleDef`
  A wrapper that converts a Spring `ApplicationContext` into a set of service definitions, compatible with Tapestry 5 IoC, for the beans defined in the context, as well as the context itself.

- ## Uses of ModuleDef in org.apache.tapestry5.ioc

  Methods in org.apache.tapestry5.ioc with parameters of type ModuleDef
  Modifier and Type
  Method
  Description
  `RegistryBuilder`
  RegistryBuilder.`add(ModuleDef moduleDef)`
  Adds a `ModuleDef` to the registry, returning the builder for further configuration.
  `static Registry`
  RegistryBuilder.`buildAndStartupRegistry(ModuleDef moduleDef, Class... moduleClasses)`
  Constructs the registry, adds a `ModuleDef` and a number of modules (as module classes) to the registry and performs registry startup.

- ## Uses of ModuleDef in org.apache.tapestry5.ioc.def

  Subinterfaces of ModuleDef in org.apache.tapestry5.ioc.def
  Modifier and Type
  Interface
  Description
  `interface`
  `ModuleDef2`
  Extended version of `ModuleDef` introduced in Tapestry 5.1 to allow for service advisors (an improvement on service decorators).

- ## Uses of ModuleDef in org.apache.tapestry5.ioc.internal

  Classes in org.apache.tapestry5.ioc.internal that implement ModuleDef
  Modifier and Type
  Class
  Description
  `class`
  `DefaultModuleDefImpl`
  Starting from the Class for a module, identifies all the services (service builder methods), decorators (service decorator methods) and (not yet implemented) contributions (service contributor methods).
  Constructors in org.apache.tapestry5.ioc.internal with parameters of type ModuleDef
  Modifier
  Constructor
  Description
  ``
  `ModuleImpl(InternalRegistry registry, ServiceActivityTracker tracker, ModuleDef moduleDef, PlasticProxyFactory proxyFactory, org.slf4j.Logger logger)`

- ## Uses of ModuleDef in org.apache.tapestry5.ioc.internal.util

  Methods in org.apache.tapestry5.ioc.internal.util with parameters of type ModuleDef
  Modifier and Type
  Method
  Description
  `static ModuleDef2`
  InternalUtils.`toModuleDef2(ModuleDef md)`

- ## Uses of ModuleDef in org.apache.tapestry5.ioc.test

  Methods in org.apache.tapestry5.ioc.test that return ModuleDef
  Modifier and Type
  Method
  Description
  `protected final ModuleDef`
  IOCTestCase.`mockModuleDef()`
  Deprecated.

- ## Uses of ModuleDef in org.apache.tapestry5.spring

  Methods in org.apache.tapestry5.spring that return ModuleDef
  Modifier and Type
  Method
  Description
  `protected ModuleDef[]`
  TapestrySpringFilter.`provideExtraModuleDefs(javax.servlet.ServletContext context)`

- ## Uses of ModuleDef in org.apache.tapestry5.test

  Methods in org.apache.tapestry5.test that return ModuleDef
  Modifier and Type
  Method
  Description
  `protected ModuleDef[]`
  PageTester.`provideExtraModuleDefs()`
  Overridden in subclasses to provide additional module definitions beyond those normally located.