org.jboss.proxy.compiler
Class IIOPStubCompiler

java.lang.Object
  extended byorg.jboss.proxy.compiler.IIOPStubCompiler

public class IIOPStubCompiler
extends java.lang.Object

Utility class responsible for the dynamic generation of bytecodes of IIOP stub classes.


Constructor Summary
IIOPStubCompiler()
           
 
Method Summary
static byte[] compile(java.lang.Class intf, java.lang.String stubClassName)
          Generates the bytecodes of a stub class for a given interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOPStubCompiler

public IIOPStubCompiler()
Method Detail

compile

public static byte[] compile(java.lang.Class intf,
                             java.lang.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;