[
https://issues.apache.org/jira/browse/TAP5-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Kemnade updated TAP5-1454:
---------------------------------
This issue has been last updated about 1.5 years ago and has no information
about the versions that are affected. That makes it hard to determine whether
it is still relevant.
If the issue still persists with the current stable version (5.3.7) or the most
recent development preview of Tapestry (5.4-beta-6), both of which are
available from Maven Central, please update it as soon as possible, adding the
respective version(s) to the issue's "Affects Version/s".
> 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.2#6252)