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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.3, 5.2, 5.1
    • 5.3
    • tapestry-ioc
    • 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

            hlship Howard Lewis Ship
            foror Alexey Pomogaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: