Package org.apache.directory.server.configuration

Examples of org.apache.directory.server.configuration.ApacheDS.startup()


            ApacheDS apacheDS = ( ApacheDS ) factory.getBean( "apacheDS" );
            File workingDirFile = new File( configF.getParentFile(), "work" );
            apacheDS.getDirectoryService().setWorkingDirectory( workingDirFile );
           
            // Now, launch the server, and check that the ObjectClass index has been created in OS' tmp directory
            apacheDS.startup();
           
            File tmpOCdb = new File( tmpDir, "dc.db" );
            assertTrue( tmpOCdb.exists() );
   
            File tmpOClg = new File( tmpDir, "dc.lg" );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.