Class ContextManager.Inner

java.lang.Object
it.tidalwave.util.ContextManager.Inner
Enclosing interface:
ContextManager

public static class ContextManager.Inner extends Object
A locator for the ContextManager which uses the ServiceLoader 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 call ContextManager.reset() after each test has been completed.
  • Constructor Details

    • Inner

      public Inner()