{
State originalState = overallState;
moveComponentsToState(overallState == STARTED ? STOPPED : CONSTRUCTED);
moveComponentsToState(originalState);
// re- add a few key components - this is a hack for now
CacheImpl ci = getComponent(CacheImpl.class);
CacheSPI rcid = getComponent("remoteDelegate", RemoteCacheInvocationDelegate.class);
CacheSPI spi = getComponent(CacheSPI.class.getName(), CacheSPI.class);
unregisterComponent(CacheImpl.class);
unregisterComponent(CacheSPI.class.getName());