You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Closed) (JIRA)" <ji...@apache.org> on 2011/10/22 00:06:32 UTC

[jira] [Closed] (TAP5-546) ObjectLocator.getService(Class) should be expanded to pass a varargs of marker annotation types

     [ https://issues.apache.org/jira/browse/TAP5-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-546.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
    
> ObjectLocator.getService(Class) should be expanded to pass a varargs of marker annotation types
> -----------------------------------------------------------------------------------------------
>
>                 Key: TAP5-546
>                 URL: https://issues.apache.org/jira/browse/TAP5-546
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-ioc
>    Affects Versions: 5.3, 5.2, 5.1
>            Reporter: Alexey Pomogaev
>            Assignee: Howard M. Lewis Ship
>            Priority: Trivial
>             Fix For: 5.3
>
>
> I have @SomeMarker annotation:
> @Marker({@SomeMarker})
> void SomeService buildSomeService() {...}
> How get SomeService by his marker (in ObjectLocator I not found like method).
> method like this: <T> T getService(<? extends Annotation> marker, Class<T> interface) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira