org.apache.tapestry5.ioc.annotations
Annotation Type Local


@Target(value={PARAMETER,FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value=SERVICE)
public @interface Local

A special marker annotation which limits the search for possible services to just the same module containing the service being injected. Other marker annotations may also be applied. It is allowed on methods to support the @Contribute annotation (used as a preferred alternative to the older naming convention for identifying contribute methods and targetted services).



Copyright © 2003-2012 The Apache Software Foundation.