public AbstractFactoryPatternDemo(AbstractFactory factory)
 {
     abstractProductA = factory.createAbstractProductA();
     abstractProductB = factory.createAbstractProductB();
 }