Package org.openbp.core.model.modelmgr

Examples of org.openbp.core.model.modelmgr.MultiplexModelMgr


    itemTypeRegistry.loadStandardItemTypeDescriptors();

    if (getModelMgr() == null)
    {
      // TODO Cleanup 4 This should be removed as soon as the Cockpit is being wired by Spring also
      MultiplexModelMgr mmm = new MultiplexModelMgr();
      mmm.setManagers(new ModelMgr [] { new FileSystemModelMgr(), new ClassPathModelMgr() });
      setModelMgr(mmm);
    }
    getModelMgr().setItemTypeRegistry(itemTypeRegistry);
  }
View Full Code Here


    if (! (processServer.getModelMgr() instanceof MultiplexModelMgr))
    {
      printError("No MultiplexModelMgr configured in OpenBP.spring.xml.");
    }

    MultiplexModelMgr mmm = (MultiplexModelMgr) processServer.getModelMgr();
    ModelMgr[] managers = mmm.getManagers();
    for (int i = 0; i < managers.length; ++i)
    {
      if (managers[i].getClass() == cls)
        return managers[i];
    }
View Full Code Here

public class ClassPathAndFileSystemModelMgrConfig
{
  @Bean
  public ModelMgr modelMgr()
  {
    MultiplexModelMgr mm = new MultiplexModelMgr();
    ArrayList l = new ArrayList(2);
    l.add(new ClassPathModelMgrConfig().modelMgr());
    l.add(new FileSystemModelMgrConfig().modelMgr());
    mm.setManagers(l);
    return mm;
  }
View Full Code Here

public class ClassPathAndDatabaseModelMgrConfig
{
  @Bean
  public ModelMgr modelMgr()
  {
    MultiplexModelMgr mm = new MultiplexModelMgr();
    ArrayList l = new ArrayList(2);
    l.add(new ClassPathModelMgrConfig().modelMgr());
    l.add(new DatabaseModelMgrConfig().modelMgr());
    mm.setManagers(l);
    return mm;
  }
View Full Code Here

TOP

Related Classes of org.openbp.core.model.modelmgr.MultiplexModelMgr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.