Package org.apache.jackrabbit.core.config

Examples of org.apache.jackrabbit.core.config.RepositoryConfigurationParser


    private void determineDependencies(final InputSource source) throws ConfigurationException {
        final Properties p = new Properties();
        p.putAll(System.getProperties());
        p.setProperty(RepositoryConfigurationParser.REPOSITORY_HOME_VARIABLE, "/fake/path");

        final RepositoryConfigurationParser parser = new RepositoryConfigurationParser(p);
        parser.setConfigVisitor(new DepFinderBeanConfigVisitor());

        try {
            parser.parseRepositoryConfig(source);
        } finally {
            // close source
            final InputStream is = source.getByteStream();
            if (is != null) {
                try { is.close(); } catch (final IOException ignore) {}
View Full Code Here


                "admin", "anonymous");
        return new JAASAuthContext(appName, ch, null);
    }

    private static LoginModuleConfig getLoginModuleConfig(String config) throws ConfigurationException {
        return new RepositoryConfigurationParser(new Properties()).parseLoginModuleConfig(parseXML(new InputSource(new StringReader(config)), false));
    }
View Full Code Here

          getWorkspaceMaxIdleTime(),
          RepositoryConfWriter.createWorkspaceConfElement(workspaceConfTemplate),
          vc,
          sc,
          cc,
          new RepositoryConfigurationParser(variables)
        );
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.config.RepositoryConfigurationParser

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.