Examples of EJBHomeCallRef


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

        // get the name of the Remote Interface
        String remoteInterface = bean.getRemoteInterface();

        // Build a reference
        EJBHomeCallRef ejbHomeCallRef = new EJBHomeCallRef(itfClsName, containerID, factoryName, bean.isStateful(),
                remoteInterface);

        // Assign the factory
        ejbHomeCallRef.setFactory(factory);

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

        return ejbHomeCallRef;

    }
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.