Package org.apache.naming.modules.memory

Examples of org.apache.naming.modules.memory.MemoryNamingContext


            // Redirect the request to the bound initial context
            return new SelectorContext(environment, true);
        } else {
            // If the thread is not bound, return a shared writable context
            if (initialContext == null)
                initialContext = new MemoryNamingContext(environment);
            return initialContext;
        }
    }
View Full Code Here


            if (initialContext == null) {
                // Allocating a new context and binding it to the appropriate
                // name
                // XXX Should return null, let the caller create something
                // Or use a different constructor.
                initialContext = new MemoryNamingContext(env);
                ContextBindings.bindContext(ICName, initialContext);
            }
            return initialContext;
        } else {
            if (ContextBindings.isThreadBound()) {
View Full Code Here

            // Redirect the request to the bound initial context
            return new SelectorContext(environment, true);
        } else {
            // If the thread is not bound, return a shared writable context
            if (initialContext == null)
                initialContext = new MemoryNamingContext(environment);
            return initialContext;
        }
    }
View Full Code Here

            if (initialContext == null) {
                // Allocating a new context and binding it to the appropriate
                // name
                // XXX Should return null, let the caller create something
                // Or use a different constructor.
                initialContext = new MemoryNamingContext(env);
                ContextBindings.bindContext(ICName, initialContext);
            }
            return initialContext;
        } else {
            if (ContextBindings.isThreadBound()) {
View Full Code Here

            if (initialContext == null) {
                // Allocating a new context and binding it to the appropriate
                // name
                // XXX Should return null, let the caller create something
                // Or use a different constructor.
                initialContext = new MemoryNamingContext(env);
                ContextBindings.bindContext(ICName, initialContext);
            }
            return initialContext;
        } else {
            if (ContextBindings.isThreadBound()) {
View Full Code Here

            // Redirect the request to the bound initial context
            return new SelectorContext(environment, true);
        } else {
            // If the thread is not bound, return a shared writable context
            if (initialContext == null)
                initialContext = new MemoryNamingContext(environment);
            return initialContext;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.naming.modules.memory.MemoryNamingContext

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.