}
theInstance = pInstanceIsStateless ? newInstance() : null;
}
private Object getInstance(XmlRpcRequest pRequest) throws XmlRpcException {
final InitializationHandler ih = mapping.getInitializationHandler();
if (ih == null) {
return theInstance == null ? newInstance() : theInstance;
} else {
final Object instance = newInstance();
ih.init(pRequest, instance);
return instance;
}
}