Package org.apache.directory.server.core.configuration

Examples of org.apache.directory.server.core.configuration.SyncConfiguration


        if ( this.isEmbeddedServerEnabled() )
        {
            // This is bug-or-wierdness workaround for in-VM access to the
            // DirContext of ApacheDS
            env.put( Configuration.JNDI_KEY, new SyncConfiguration() );
        }

        return env;
    }
View Full Code Here


                {
                    LOG.info( "Syncing Embedded Directory Server..." );
                }

                // Create a configuration instruction.
                SyncConfiguration cfg = new SyncConfiguration();

                // Build the properties from bean attributes
                Hashtable env = createContextEnv();

                // Put the configuration instruction to the environment
                // variable.
                env.putAll( cfg.toJndiEnvironment() );

                if ( LOG.isDebugEnabled() )
                {
                    LOG.info( "Directory Properties:" );
View Full Code Here

        throws Exception
    {
        logger.info( "Sync'ing Apache Directory Server server." );

        Hashtable env = new Hashtable();
        env.putAll( new SyncConfiguration().toJndiEnvironment() );
        new InitialDirContext( env );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.server.core.configuration.SyncConfiguration

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.