Class IIOPStubCompiler

java.lang.Object
org.jboss.as.ejb3.iiop.stub.IIOPStubCompiler

public class IIOPStubCompiler extends Object
Utility class responsible for the dynamic generation of bytecodes of IIOP stub classes.
Author:
Stuart Douglas, Francisco Reverbel, Richard Opalka
  • Field Details

  • Constructor Details

    • IIOPStubCompiler

      public IIOPStubCompiler()
  • Method Details

    • compile

      public static org.jboss.classfilewriter.ClassFile compile(Class<?> intf, String stubClassName)
      Generates the bytecodes of a stub class for a given interface.
      Parameters:
      intf - RMI/IIOP interface to be implemented by the stub class
      stubClassName - the name of the stub class
      Returns:
      a byte array with the generated bytecodes;
    • compileToClass

      public Class<?> compileToClass(Class<?> intf, String stubClassName)