AbstractFactory e factoryMethod.