Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
0.2-incubating
-
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.