{
if (inputClass.isInterface() || inputClass.isPrimitive() || inputClass.isArray())
throw new IllegalArgumentException(ScriptMessages.wrongTypeForEnhancement(inputClass));
EnhancementOperationImpl op = new EnhancementOperationImpl(_classResolver,
new ComponentSpecification(), inputClass, _classFactory, null);
IComponentSpecification spec = new ComponentSpecification();
spec.setLocation(_creatorLocation);
Iterator i = _workers.iterator();
while (i.hasNext())
{
EnhancementWorker worker = (EnhancementWorker) i.next();