|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassGenerator
Root class for InterfaceType
-based class generators.
Method Summary | |
---|---|
Class |
generate(InterfaceType it,
InitializationContext ic)
Generate a class implementing the given Fractal interface type. |
byte[] |
generate(String targetClassname,
InterfaceType it,
InitializationContext ic)
Generate the bytecode of a class implementing the given Fractal interface type. |
String |
getTargetClassName(InterfaceType it)
Return the name of the class generated by the current class generator for the specified interface type. |
boolean |
match(InterfaceType it)
Return true if the mode (IN, OUT or IN_OUT) of the class generator matchs the mode (client or server) of the given interface type. |
Method Detail |
---|
boolean match(InterfaceType it)
byte[] generate(String targetClassname, InterfaceType it, InitializationContext ic) throws InstantiationException
targetClassname
- the name of the class to generateit
- the corresponding interface typeic
- the context for initializing the generated class
InstantiationException
Class generate(InterfaceType it, InitializationContext ic) throws InstantiationException
it
- the interface typeic
- the context for initializing the generated class
InstantiationException
String getTargetClassName(InterfaceType it)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |