Package org.apache.tapestry5.ioc

# Interface AdvisorDef2

All Superinterfaces:
  `AdvisorDef`, `Markable`

All Known Implementing Classes:
  `AdvisorDefImpl`

public interface AdvisorDef2 extends AdvisorDef, Markable
Extended version of `AdvisorDef` introduced to determine any module method annotated with `Advise` as an advisor method. Before version 5.2 an advice is applied to any service whose id matched the pattern provided by `Match` annotation. As of version 5.2 a service to advice may also be identified by a combination of `Advise` annotation and a set of marker annotations.

Since:
  5.2.2

- ## Method Summary

  ### Methods inherited from interface org.apache.tapestry5.ioc.AdvisorDef

  `createAdvisor, getAdvisorId, getConstraints, matches`

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

  `getMarkers, getServiceInterface`