tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1330) It should be possible to place the @Lifecycle annotation on the service interface, as well as on the builder method
Date Tue, 17 Apr 2007 00:21:15 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489269
] 

Howard M. Lewis Ship commented on TAPESTRY-1330:
------------------------------------------------

A variation of this is checked in; autobuilding a service allows the @Scope annotation (the
renamed version of @Lifecycle) to be placed on the service implementation class.

> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message