public class ProductsSyncCreate extends BeanFactoryCache {
public Object constructBean(AppView app) throws BeanFactoryException {
DataLogicSystem dlSystem = (DataLogicSystem) app.getBean("com.openbravo.pos.forms.DataLogicSystem");
DataLogicIntegration dli = (DataLogicIntegration) app.getBean("net.virtuemart.www.possync.DataLogicIntegration");
DataLogicSales dlsales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
DataLogicCustomers dlcustomers = (DataLogicCustomers) app.getBean("com.openbravo.pos.customers.DataLogicCustomers");
ProductsSync bean = new ProductsSync(dlSystem, dli, dlsales, app.getInventoryLocation());
return bean;