/* 117 */ NamingException namingException = new NamingException("Could not bind stateful local proxy with ejb name " + getContainer().getEjbName() + " into JNDI under jndiName: " + getContainer().getInitialContext().getNameInNamespace() + "/" + this.jndiName + "StatefulProxyFactory");
/* 118 */ namingException.setRootCause(e);
/* 119 */ throw namingException;
/* */ }
/* */
/* 122 */ SessionContainer statefulContainer = (SessionContainer)getContainer();
/* 123 */ LocalHome localHome = (LocalHome)((EJBContainer)getContainer()).resolveAnnotation(LocalHome.class);
/* 124 */ if ((localHome != null) && (!bindHomeAndBusinessTogether(statefulContainer)))
/* */ {
/* 126 */ Class[] interfaces = { localHome.value() };
/* 127 */ Object homeProxy = Proxy.newProxyInstance(getContainer().getBeanClass().getClassLoader(), interfaces, new StatefulLocalHomeProxy(getContainer()));