Examples of EJBLocalHomeCallRef


Examples of org.ow2.easybeans.proxy.reference.EJBLocalHomeCallRef

            throw new EZBContainerException(
                    "Cannot find the class '" + itf + "' in Classloader '" + this.classLoader + "'.", e);
        }

        // Build a reference
        EJBLocalHomeCallRef ejbLocalHomeCallRef = new EJBLocalHomeCallRef(itfClsName, embeddedId, containerID, factoryName, bean
                .isStateful());

        // Assign to factory to it
        ejbLocalHomeCallRef.setFactory(factory);

        // Set the JNDI name
        ejbLocalHomeCallRef.setJNDIName(this.configuration.getNamingStrategy().getJNDIName(
                BeanNamingInfoHelper.buildInfo(bean, itfClsName, "LocalHome", this.applicationName)));

        return ejbLocalHomeCallRef;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.