Package org.jboss.as.ejb3.iiop.stub
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 Summary
Fields Modifier and Type Field Description static StringID_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description IIOPStubCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.classfilewriter.ClassFilecompile(Class<?> intf, String stubClassName)Generates the bytecodes of a stub class for a given interface.Class<?>compileToClass(Class<?> intf, String stubClassName)
-
-
-
Field Detail
-
ID_FIELD_NAME
public static final String ID_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 classstubClassName- the name of the stub class- Returns:
- a byte array with the generated bytecodes;
-
-