private Class createInterceptorClass(Class serviceInterface, String serviceId)
{
ClassFab cf = _classFactory.newClass(serviceInterface);
cf.addField("_delegate", Modifier.PRIVATE | Modifier.FINAL, serviceInterface);
cf.addField("_logger", Modifier.PRIVATE | Modifier.FINAL, ServiceLogger.class);
cf.addConstructor(new Class[]
{ serviceInterface, ServiceLogger.class }, null, "{ _delegate = $1; _logger = $2; }");
addMethods(cf, serviceInterface, serviceId);