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

- Packages that use ContributionDef2
  Package | Description
  --- | ---
  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

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

    Subinterfaces of ContributionDef2 in org.apache.tapestry5.ioc.def
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ContributionDef3` | Starting in Tapestry 5.3, contributions could be optional.

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

    Classes in org.apache.tapestry5.ioc.internal that implement ContributionDef2
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ContributionDefImpl` |

    Methods in org.apache.tapestry5.ioc.internal that return types with arguments of type ContributionDef2
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<ContributionDef2>` | Module.`getContributorDefsForService​(ServiceDef serviceDef)` | Finds any contributions that are targeted at the indicated service.
    `Set<ContributionDef2>` | ModuleImpl.`getContributorDefsForService​(ServiceDef serviceDef)` |

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

    Methods in org.apache.tapestry5.ioc.internal.util that return ContributionDef2
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ContributionDef2` | InternalUtils.`toContributionDef2​(ContributionDef contribution)` |