2 Replies Latest reply on Jan 24, 2011 4:56 AM by v a

    Redefinition EJB proxy interfaces in the TCL

    v a Newbie

      org.jboss.ejb3.proxy.impl.objectfactory.session.SessionProxyObjectFactory contains this code to ensure that the proxy is visible to the TCL:


      protected Object createProxy(ProxyFactory factory, Name name, Map<String, List<String>> referenceAddresses)
          // Ensure the proxy is visible to the TCL
          proxy = this.redefineProxyInTcl(proxy);


      However it is not always necessary. For example in a scripting environment you don't need the proxy interfaces to be available in the TCL. Can we have an option to disable this redefinition?