@Test public void testCheckDependencyForComponent() throws ContainerException { ComponentContainer containerObj = new ComponentContainer(); containerObj.init("component-container", ofbizHome); List<String> loadedComponents = ComponentConfig.components() .map(ComponentConfig::getGlobalName) .collect(Collectors.toList()); assertEquals(Arrays.asList("order", "accounting"), loadedComponents); }
@Override public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException { init(name, Start.getInstance().getConfig().getOfbizHome()); }
ComponentContainer implements Container { @Override public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException { init(name, Start.getInstance().getConfig().getOfbizHome()); } }
ComponentContainer implements Container { @Override public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException { init(name, Start.getInstance().getConfig().getOfbizHome()); }  }
ComponentContainer implements Container { @Override public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException { init(name, Start.getInstance().getConfig().getOfbizHome()); }  @Override void init(List<StartupCommand> ofbizCommands, String name, String configFile); @Override boolean start(); @Override void stop(); @Override String getName(); }
ComponentContainer implements Container { @Override public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException { init(name, Start.getInstance().getConfig().getOfbizHome()); }  @Override void init(List<StartupCommand> ofbizCommands, String name, String configFile); @Override boolean start(); @Override void stop(); @Override String getName();  }