Package org.apache.tapestry5.ioc.def

# Interface DecoratorDef2

All Superinterfaces:
  `DecoratorDef`, `Markable`

All Known Implementing Classes:
  `DecoratorDefImpl`

public interface DecoratorDef2 extends DecoratorDef, Markable
Extended version of `DecoratorDef` introduced to determine any module method annotated with `Decorate` as a decorator method. Before version 5.2 a decorator was applied to any service whose id matched the pattern provided by `Match` annotation. As of version 5.2 a service to decorate 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.def.DecoratorDef

  `createDecorator, getConstraints, getDecoratorId, matches`

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

  `getMarkers, getServiceInterface`