Annotation Type InjectResource
-
() () @UseWith(SERVICE) public @interface InjectResource
Deprecated.Deprecated in Tapestry 5.3, to be removed in a later release. UseInject
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 theMasterObjectProvider
. In Tapestry 5.3, the logic for this was changed so that it is treated the same asInject
. This reflects what people usually want.