/* */
/* 344 */ NamingContextExt ctx = getNamingContextExt();
/* */
/* 346 */ log.debug("binding servant name " + getServantName());
/* */
/* 348 */ Servant servant = new BeanCorbaServant(this, poaCurrent, this.container, interfaceDef, interfaceAnalysis);
/* 349 */ this.referenceFactory = this.servantRegistry.bind(getServantName(), servant, policies);
/* */
/* 351 */ EJBObject corbaObj = (EJBObject)createProxy();
/* */
/* 353 */ rebind(ctx, getJndiName(), (org.omg.CORBA.Object)corbaObj);