code: public Reference createEJBLinkReference(String refName,
                                              String application,
                                              String module,
                                              String component,
                                              String beanName,
                                              String beanInterface,
                                              String homeInterface,
                                              boolean localRef,
                                              boolean remoteRef)
      {
          EJBLinkInfo info = new EJBLinkInfo(refName, // d655264.1
          application,
                          module,
                          component, // d655264.1
                          beanName,
                          beanInterface,
                          homeInterface,
                          localRef,
                          remoteRef);
          EJBLinkInfoRefAddr refAddr = new EJBLinkInfoRefAddr(info);
          Reference ref = new Reference(beanInterface, refAddr,
                          EJB_FACTORY_NAME, null);
          return ref;
      }
docs: This method creates an EJBLink Reference based on the application,
  module, bean name, bean interface, home interface, and an indication
  if the ref is remote or local. <p>
  
  @param refName name of the ejb-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 beanName name of the bean specified on ejb-link or annotation.
  @param beanInterface interface of the referenced bean.
  @param homeInterface home interface of the referenced bean.
  @param localRef true if this represents an ejb-local-ref.
  @param remoteRef true if this represents an ejb-ref.
  
  @return the created EJBLink Reference.