Annotation Type InjectResource


  • @Target(FIELD)
    @Retention(RUNTIME)
    @Documented
    @UseWith(SERVICE)
    public @interface InjectResource
    Deprecated.
    Deprecated in Tapestry 5.3, to be removed in a later release. Use Inject instead.
    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 MasterObjectProvider. In Tapestry 5.3, the logic for this was changed so that it is treated the same as Inject. This reflects what people usually want.