Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-211

Add the possibility to force a new service instance on each request.

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 0.2-incubating
    • 0.3-incubating
    • API, Core
    • None

    Description

      The ServiceContext manages all kind of service creation. Hereby single services as well as service lists are manytimes cached by the underlying ServiceLoader or OSGI Service logic. Nevertheless there are use cases (e.g. the ConfigurationContextBuilder), where every access should return a new instance. This can be supported by adding a method T create(Class<T> serviceType) on the ServiceContext SPI.

      Attachments

        Activity

          People

            anatole Anatole Tresch
            anatole Anatole Tresch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment