It should be possible to place the @Lifecycle annotation on the service
interface, as well as on the builder method
-------------------------------------------------------------------------------------------------------------------
Key: TAPESTRY-1330
URL: https://issues.apache.org/jira/browse/TAPESTRY-1330
Project: Tapestry
Issue Type: New Feature
Components: tapestry-ioc
Affects Versions: 5.0
Reporter: Howard M. Lewis Ship
In many cases, the design of a particular service interface is inextricably
linked to the service lifecycle, such as @Lifecycle("perthread"). Being able
to place this annotation on the service interface is of benefit because it is
self documenting, and because it ensures that the service uses the lifecycle,
if the developer forgets to place the annotation on the service builder method.
@Lifecycle should be allowed on classes as well as methods to support this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]