*/
public IZooReaderWriter getRetryingInstance() {
synchronized (ZooReaderWriterFactory.class) {
if (retryingInstance == null) {
IZooReaderWriter inst = getInstance();
InvocationHandler ih = new RetryingInvocationHandler(inst);
retryingInstance = (IZooReaderWriter) Proxy.newProxyInstance(IZooReaderWriter.class.getClassLoader(), new Class[] {IZooReaderWriter.class}, ih);
}
return retryingInstance;
}
}