You might also want to consider implementing a custom scope (eg
"prototype") by contributing a ServiceLifecycle to ServiceLifecycleSource.
You could then mark your services with @Scope("prototype").

Take a look at PerThreadServiceLifecycle for inspiration.

Reply via email to