@Override
 public void restoreRegistry() {
   stateBeforeInjectorCreation.restoreGlobalState();
 }
 @Override
 public void setupRegistry() {
   getInjector();
   stateAfterInjectorCreation.restoreGlobalState();
 }
コード例 #3
0
 public void restoreRegistry() {
   globalStateMemento.restoreGlobalState();
 }