code: public static Class<?> generateWSEJBProxy(ClassLoader classLoader,
                                                String proxyClassName,
                                                Class<?> proxyInterface,
                                                Method[] proxyMethods,
                                                EJBMethodInfoImpl[] methodInfos,
                                                String ejbClassName,
                                                String beanName,
                                                ClassDefiner classDefiner)
                      throws ClassNotFoundException, EJBConfigurationException
      {
          Class<?> rtnClass = null;
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d576626
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "generateWSEJBProxy: " + proxyClassName + " : " + beanName);
  
          try
          {
              byte[] classbytes = WSEJBProxy.generateClassBytes(proxyClassName,
                                                                proxyInterface,
                                                                proxyMethods,
                                                                methodInfos,
                                                                ejbClassName,
                                                                beanName);
  
              rtnClass = classDefiner.findLoadedOrDefineClass(classLoader, proxyClassName, classbytes);
          } catch (EJBConfigurationException ejbex)
          {
              FFDCFilter.processException(ejbex, CLASS_NAME + ".generateWSEJBProxy",
                                          "536");
              if (isTraceOn && tc.isEntryEnabled())
                  Tr.exit(tc, "generateWSEJBProxy failed: " + ejbex.getMessage());
  
              throw ejbex;
          } catch (Throwable ex)
          {
              FFDCFilter.processException(ex, CLASS_NAME + ".generateWSEJBProxy",
                                          "545");
              if (isTraceOn && tc.isEntryEnabled())
                  Tr.exit(tc, "generateWSEJBProxy failed: " + ex.getMessage());
  
              throw new ClassNotFoundException(proxyClassName + " : " + ex.getMessage(), ex);
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "generateWSEJBProxy: " + rtnClass);
  
          return rtnClass;
      }
docs: d497921