Package org.apache.jetspeed.components.jndi

Examples of org.apache.jetspeed.components.jndi.JNDIComponent



            if (useInternalJNDI)
            {
                // bind the current JNDI context to this service thread.
                JNDIComponent jndi = (JNDIComponent) componentManager
                        .getComponent(JNDIComponent.class);
                if (jndi != null)
                {
                    try
                    {
                        jndi.bindToCurrentThread();
                    }
                    catch (NamingException e)
                    {
                        throw new JetspeedException("Unable bind jndi: "+e.toString(), e);
                    }
View Full Code Here



            if (useInternalJNDI)
            {
                // bind the current JNDI context to this service thread.
                JNDIComponent jndi = (JNDIComponent) componentManager
                        .getComponent(JNDIComponent.class);
                if (jndi != null)
                {
                    try
                    {
                        jndi.bindToCurrentThread();
                    }
                    catch (NamingException e)
                    {
                        throw new JetspeedException("Unable bind jndi: "+e.toString(), e);
                    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.components.jndi.JNDIComponent

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.