Package org.exoplatform.services.jcr.impl.storage.jdbc

Examples of org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer$SharedConnectionFactory


      }
   }

   private JDBCWorkspaceDataContainerChecker getJDBCChecker(String wsName)
   {
      JDBCWorkspaceDataContainer dataContainer =
         (JDBCWorkspaceDataContainer)getComponent(JDBCWorkspaceDataContainer.class, wsName);

      AbstractCacheableLockManager lockManager =
         (AbstractCacheableLockManager)getComponent(AbstractCacheableLockManager.class, wsName);
View Full Code Here


      }
   }

   private JDBCWorkspaceDataContainerChecker getJDBCChecker(String wsName)
   {
      JDBCWorkspaceDataContainer dataContainer =
         (JDBCWorkspaceDataContainer)getComponent(JDBCWorkspaceDataContainer.class, wsName);

      ValueStoragePluginProvider vsPlugin =
         (ValueStoragePluginProvider)getComponent(ValueStoragePluginProvider.class, wsName);
View Full Code Here

   {
      String[] wsNames = repository.getWorkspaceNames();
      for (String wsName : wsNames)
      {
         inspectionLog.logComment("Check DB consistency. Workspace " + wsName);
         JDBCWorkspaceDataContainer dataContainer =
            (JDBCWorkspaceDataContainer)repository.getWorkspaceContainer(wsName).getComponent(
               JDBCWorkspaceDataContainer.class);
         JDBCWorkspaceDataContainerChecker.checkDB(dataContainer, inspectionLog);
      }
   }
View Full Code Here

      String[] wsNames = repository.getWorkspaceNames();
      for (String wsName : wsNames)
      {
         inspectionLog.logComment("Check ValueStorage consistency. Workspace " + wsName);

         JDBCWorkspaceDataContainer dataContainer =
            (JDBCWorkspaceDataContainer)repository.getWorkspaceContainer(wsName).getComponent(
               JDBCWorkspaceDataContainer.class);

         ValueStoragePluginProvider vsPlugin =
            (ValueStoragePluginProvider)repository.getWorkspaceContainer(wsName).getComponent(
View Full Code Here

      node.lock(false, false);

      assertTrue(node.isLocked());

      // remove lock properties from JCR tables
      JDBCWorkspaceDataContainer container =
         (JDBCWorkspaceDataContainer)repository.getWorkspaceContainer("ws").getComponent(
            JDBCWorkspaceDataContainer.class);

      System.setProperty(AbstractCacheableLockManager.LOCKS_FORCE_REMOVE, "true");
      try
      {
         container.start();
      }
      finally
      {
         System.setProperty(AbstractCacheableLockManager.LOCKS_FORCE_REMOVE, "false");
      }
View Full Code Here

      // SimpleJNDIContextInitializer.initialize(sourceName, ref);
      FileCleanerHolder holder = new FileCleanerHolder();

      container =
         new JDBCWorkspaceDataContainer(config, repositoryEntry, null, new StandaloneStoragePluginProvider(config,
            holder), holder, null);

      Properties logProps = new Properties();
      logProps.put("org.apache.commons.logging.simplelog.defaultlog", "debug");
View Full Code Here

      WorkspaceContainerFacade wsContainer = repository.getWorkspaceContainer(wsName);

      NodeTypeDataManagerImpl nodeTypeManager =
         (NodeTypeDataManagerImpl)wsContainer.getComponent(NodeTypeDataManagerImpl.class);

      JDBCWorkspaceDataContainer jdbcDataContainer =
         (JDBCWorkspaceDataContainer)wsContainer.getComponent(JDBCWorkspaceDataContainer.class);

      String iTable = "JCR_" + (isMultiDb ? "M" : "S") + "ITEM";

      InconsistencyRepair repair =
View Full Code Here

   {
      String[] wsNames = repository.getWorkspaceNames();
      for (String wsName : wsNames)
      {
         inspectionLog.logComment("Check DB consistency. Workspace " + wsName);
         JDBCWorkspaceDataContainer dataContainer =
            (JDBCWorkspaceDataContainer)repository.getWorkspaceContainer(wsName).getComponent(
               JDBCWorkspaceDataContainer.class);
         JDBCWorkspaceDataContainerChecker.checkDB(dataContainer, inspectionLog);
      }
   }
View Full Code Here

      String[] wsNames = repository.getWorkspaceNames();
      for (String wsName : wsNames)
      {
         inspectionLog.logComment("Check ValueStorage consistency. Workspace " + wsName);

         JDBCWorkspaceDataContainer dataContainer =
            (JDBCWorkspaceDataContainer)repository.getWorkspaceContainer(wsName).getComponent(
               JDBCWorkspaceDataContainer.class);

         ValueStoragePluginProvider vsPlugin =
            (ValueStoragePluginProvider)repository.getWorkspaceContainer(wsName).getComponent(
View Full Code Here

      }
   }

   private JDBCWorkspaceDataContainerChecker getJDBCChecker(String wsName)
   {
      JDBCWorkspaceDataContainer dataContainer =
         (JDBCWorkspaceDataContainer)getComponent(JDBCWorkspaceDataContainer.class, wsName);

      AbstractCacheableLockManager lockManager =
         (AbstractCacheableLockManager)getComponent(AbstractCacheableLockManager.class, wsName);
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer$SharedConnectionFactory

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.