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

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


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

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

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

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

            new InitialDirContext( env );
        }
    }
View Full Code Here


        sync();

        stopped = true;

        Hashtable env = new Hashtable();
        env.putAll( new ShutdownConfiguration().toJndiEnvironment() );
        new InitialDirContext( env );

        logger.info( "Apache Directory Server server stopped." );
    }
View Full Code Here

TOP

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

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.