Package 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 ofContributionDef
introduced to determine any module method annotated withContribute
as a contributor method. As of version 5.2 a contribution identifies the service contributed either by the service id or by a combination ofContribute
annotation and a set of marker annotations. This means thatContributionDef.getServiceId()
may to returnnull
ifMarkable.getServiceInterface()
returns a nonnull
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
-
-