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


@Target(value=FIELD)
@Retention(value=RUNTIME)
@Documented
@UseWith(value=SERVICE)
public @interface InjectResource

Annotation used with field injection when the desired injection value is a resource (such as a service id, service configuration, or logger) and not an object obtained from the org.apache.tapestry5.ioc.services.MasterObjectProvider.



Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.