org.apache.tapestry5.ioc.def

## Interface ContributionDef2

- All Superinterfaces:
    ContributionDef, Markable
  All Known Subinterfaces:
    ContributionDef3
  All Known Implementing Classes:
    ContributionDefImpl

      public interface ContributionDef2
      extends ContributionDef, Markable

  Extended version of `ContributionDef` introduced to determine any module method annotated with `Contribute` as a contributor method. As of version 5.2 a contribution identifies the service contributed either by the service id or by a combination of `Contribute` annotation and a set of marker annotations. This means that `ContributionDef.getServiceId()` may to return `null` if `Markable.getServiceInterface()` returns a non `null` value.
  Since:
    5.2.0

- - ### Method Summary

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

      `contribute, contribute, contribute, getServiceId`

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

      `getMarkers, getServiceInterface`

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