org.objectweb.proactive.core.component.gen
Class RepresentativeInterfaceClassGenerator
java.lang.Object
org.objectweb.proactive.core.component.gen.AbstractInterfaceClassGenerator
org.objectweb.proactive.core.component.gen.RepresentativeInterfaceClassGenerator
- public class RepresentativeInterfaceClassGenerator
- extends AbstractInterfaceClassGenerator
This class generates representative interfaces objects, which are created on the client side along with the component representative
object (@see org.objectweb.proactive.core.component.representative.ProActiveComponentRepresentativeImpl).
- Author:
- Matthieu Morel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPrimitive
protected boolean isPrimitive
RepresentativeInterfaceClassGenerator
public RepresentativeInterfaceClassGenerator()
instance
public static RepresentativeInterfaceClassGenerator instance()
getClassData
public static byte[] getClassData(java.lang.String classname)
- retreives the bytecode associated to the generated class of the given name
generateInterface
public ProActiveInterface generateInterface(java.lang.String interfaceName,
Component owner,
InterfaceType interfaceType,
boolean isInternal,
boolean isFunctionalInterface)
throws InterfaceGenerationFailedException
- Specified by:
generateInterface
in class AbstractInterfaceClassGenerator
- Throws:
InterfaceGenerationFailedException
createReifiedMethods
protected static void createReifiedMethods(javassist.CtClass generatedClass,
javassist.CtMethod[] reifiedMethods,
boolean isFunctionalInterface)
throws javassist.NotFoundException,
javassist.CannotCompileException
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
Copyright 2001-2005 INRIA All Rights Reserved.