Package org.cafesip.jiplet.config.jip

Examples of org.cafesip.jiplet.config.jip.EJBRef


            }

            i = config.getEjbRef().iterator();
            while (i.hasNext() == true)
            {
                EJBRef ejb = (EJBRef) i.next();
                String jndi_name = ejb.getEjbRefName();
                if (vdh != null)
                {
                    jndi_name = vdh.getEjbRefJndiName(jndi_name);
                }

                NamingUtil.rebind(sub, ejb.getEjbRefName(), new LinkRef(
                        jndi_name));
            }

            i = config.getEjbLocalRef().iterator();
            while (i.hasNext() == true)
            {
                EJBLocalRef ejb = (EJBLocalRef) i.next();
                String jndi_name = ejb.getEjbRefName();
                if (vdh != null)
                {
                    jndi_name = vdh.getEjbLocalRefJndiName(jndi_name);
                }
                NamingUtil.rebind(sub, ejb.getEjbRefName(), new LinkRef(
                        jndi_name));
            }
        }
        finally
        {
View Full Code Here


            }

            i = config.getEjbRef().iterator();
            while (i.hasNext() == true)
            {
                EJBRef ejb = (EJBRef) i.next();
                NamingUtil.unbind(sub, ejb.getEjbRefName());
            }

            i = config.getEjbLocalRef().iterator();
            while (i.hasNext() == true)
            {
                EJBLocalRef ejb = (EJBLocalRef) i.next();
                NamingUtil.unbind(sub, ejb.getEjbRefName());
            }

            try
            {
                env_ctx.destroySubcontext("env");
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.config.jip.EJBRef

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.