code: public Reference createMBLinkReference(String refName,
                                             String application,
                                             String module,
                                             String component,
                                             String beanType)
      {
          MBLinkInfo info = new MBLinkInfo(refName,
                          application,
                          module,
                          component,
                          beanType);
          MBLinkInfoRefAddr refAddr = new MBLinkInfoRefAddr(info);
          Reference ref = new Reference(beanType, refAddr,
                          EJB_FACTORY_NAME, null);
          return ref;
      }
docs: This method creates an MBLink reference based on the application,
  module, and component names of the referencing context and the
  bean type of the referenced managed bean. <p>
  
  @param refName name of the resource-ref.
  @param application name of the application containing the ref.
  @param module name of the module containing the ref.
  @param component name of the component containing the ref.
  @param beanType type of the referenced managed bean.
  
  @return the created EJBLink Reference.