JNDIBinderImpl jndiBinder = new JNDIBinderImpl(jndiCtx, jndiName, proxy);
String binderMCBeanName = "<JNDIBinder><BusinessRemote:" + businessRemote + "><Bean:"
+ sessionBean.getEjbName() + "><Unit:" + unit.getName() + ">";
BeanMetaData jndiBinderBMD = createBeanMetaData(binderMCBeanName, jndiBinder, container);
DeploymentUnit parentUnit = unit.getParent();
parentUnit.addAttachment(BeanMetaData.class + ":" + binderMCBeanName, jndiBinderBMD);
}
catch (ClassNotFoundException cnfe)
{
throw new RuntimeException("Could not load business remote interface " + businessRemote, cnfe);