cf.addConstructor(new Class[]
{ serviceInterface, ServiceLogger.class }, null, "{ _delegate = $1; _logger = $2; }");
addMethods(cf, serviceInterface, serviceId);
return cf.createClass();
}
private void addMethods(ClassFab cf, Class serviceInterface, String serviceId)
{
MethodIterator mi = new MethodIterator(serviceInterface);