org.apache.tapestry5.ioc.def

## Interface ModuleDef2

- All Superinterfaces:
    ModuleDef
  All Known Implementing Classes:
    DefaultModuleDefImpl

      public interface ModuleDef2
      extends ModuleDef

  Extended version of `ModuleDef` introduced in Tapestry 5.1 to allow for service advisors (an improvement on service decorators).
  Since:
    5.1.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<AdvisorDef>` | `getAdvisorDefs()` Returns all the service advisor definitions built/provided by this module.
    `Set<StartupDef>` | `getStartups()` Methods marked with @Startup are converted into Runnable instances and assigned here.

    - ### Methods inherited from interface org.apache.tapestry5.ioc.def.ModuleDef

      `getBuilderClass, getContributionDefs, getDecoratorDefs, getLoggerName, getServiceDef, getServiceIds`

- - ### Method Detail

    - #### getAdvisorDefs

          Set<AdvisorDef> getAdvisorDefs()

      Returns all the service advisor definitions built/provided by this module.

    - #### getStartups

          @IncompatibleChange(release="5.4",
                              details="StartupDef replaces the artificial ContributionDef created for @Startup methods.")
          Set<StartupDef> getStartups()

      Methods marked with @Startup are converted into Runnable instances and assigned here.
      Since:
        5.4

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.