org.apache.tapestry5.ioc.annotations

## Annotation Type Match

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
       @Documented
       @UseWith(value=SERVICE_DECORATOR)
      public @interface Match

  Optional, but typically used, annotation for service decorator methods, used to define which services the decorator applies to. This annotation defines a number of patterns that allow services across multiple modules to be selected. A decorator is applied to a service if any of its patterns match the service. TODO: Describe pattern glob-match syntax When the Match annotation is not supplied, then the decorator only applies to a single service: the service whose id matches the decorators id; that is, method `decorateMyService()` would decorate only the service provided by the `buildMyService()` method, within the same module.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `java.lang.String[]` | `value` Defines a list of patterns matched against potential service ids to identify to which services the decorator applies.

- - ### Element Detail

    - #### value

          public abstract java.lang.String[] value

      Defines a list of patterns matched against potential service ids to identify to which services the decorator applies. A decorator is applied if any of the patterns match.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.