Anatole Tresch created TAMAYA-211:
-------------------------------------
Summary: Add the possibility to force a new service instance on
each request.
Key: TAMAYA-211
URL: https://issues.apache.org/jira/browse/TAMAYA-211
Project: Tamaya
Issue Type: Improvement
Components: API, Core
Affects Versions: 0.2-incubating
Reporter: Anatole Tresch
Assignee: Anatole Tresch
Fix For: 0.3-incubating
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)