You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/22 00:42:32 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13133153#comment-13133153 ]
Hudson commented on TAP5-546:
-----------------------------
Integrated in tapestry-trunk-freestyle #599 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/599/])
TAP5-546: ObjectLocator.getService(Class) should be expanded to pass a varargs of marker annotation types
hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1187574
Files :
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/test/InternalBaseTestCase.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/ObjectLocator.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/Marker.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ObjectLocatorImpl.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryWrapper.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/MasterObjectProvider.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java
* /tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/internal/IOCInternalTestCase.java
> 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