Package it.tidalwave.util
Class ContextManager.Inner
- java.lang.Object
-
- it.tidalwave.util.ContextManager.Inner
-
- Enclosing interface:
- ContextManager
public static class ContextManager.Inner extends java.lang.Object
A locator for theContextManager
which uses theServiceLoader
facility to be independent of any DI framework. This locator caches the internal reference and this is ok for production use; during tests, since multiple contexts are typically created and destroyed for each test, you should callContextManager.reset()
after each test has been completed.
-
-
Constructor Summary
Constructors Constructor Description Inner()
-