Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-546

ObjectLocator.getService(Class) should be expanded to pass a varargs of marker annotation types

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.2, 5.1
    • Fix Version/s: 5.3
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              foror Alexey Pomogaev
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: