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