[
https://issues.apache.org/jira/browse/TAP5-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Kemnade closed TAP5-1454.
--------------------------------
Resolution: Invalid
We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the
latest 5.4 preview release), feel free to provide the necessary information and
reopen.
> Provide a public API to get a service from registry by a set of marker
> annotations
> ----------------------------------------------------------------------------------
>
> Key: TAP5-1454
> URL: https://issues.apache.org/jira/browse/TAP5-1454
> Project: Tapestry 5
> Issue Type: Improvement
> Reporter: Igor Drobiazko
> Assignee: Igor Drobiazko
>
> Currently the way to get an object from registry by marker annotations is to
> provide an AnnotationProvider.
> <T> T getObject(Class<T> objectType, AnnotationProvider annotationProvider);
> This is very inconvenient as you can't instantiate annotations. It should be
> possible to get an object from registry like this:
> <T, A extends Annotation> T getObject(Class<T> objectType, A[]
> markerAnnotations);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)