{
Iterator it = TestInvocationHandler.callbackHandlers.iterator();
while (it.hasNext())
{
ServerInvokerCallbackHandler callbackHandler = (ServerInvokerCallbackHandler) it.next();
callbackHandler.shutdown();
log.info("shut down: " + callbackHandler);
}
TestInvocationHandler.callbackHandlers.clear();
}
synchronized(lock)