Package net.sf.archimede.util

Examples of net.sf.archimede.util.StartupJcrUtil


    String repositoryName = "jackrabbit.repository";
    Properties jndiProperties = new Properties();
    jndiProperties.put("java.naming.provider.url", "http://sf.net/projects/archimede#1");
    jndiProperties.put("java.naming.factory.initial", "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");

    startupUtil = new StartupJcrUtil(REPOSITORY_HOME, "temp/repository.xml", repositoryName, jndiProperties);
   
    startupUtil.init();
  }
View Full Code Here


      String parameterName = (String) enumeration.nextElement();
      if (parameterName.startsWith("java.naming.")) {
        jndiProperties.put(parameterName, getInitParameter(parameterName));
      }
    }   
    this.startupUtil = new StartupJcrUtil(repositoryHomePath, repositoryConfigPath, repositoryName, jndiProperties);
   
    this.startupUtil.init();
       
        IndexVerifier.getInstance().verify(SystemPrincipal.getCredentials());
View Full Code Here

TOP

Related Classes of net.sf.archimede.util.StartupJcrUtil

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.