jcaas
Class BlackBoardFactory

java.lang.Object
  extended by jcaas.BlackBoardFactory

public class BlackBoardFactory
extends java.lang.Object

This Factory allows for the generation of a BlackBoard class with a given set of static variables.


Constructor Summary
BlackBoardFactory()
           
 
Method Summary
static org.apache.bcel.classfile.JavaClass generateBlackBoard(java.lang.String className, java.lang.String sourceFileName, java.lang.String[] variables)
          Gives a JavaClass object of an autogenerated BlackBoard class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlackBoardFactory

public BlackBoardFactory()
Method Detail

generateBlackBoard

public static org.apache.bcel.classfile.JavaClass generateBlackBoard(java.lang.String className,
                                                                     java.lang.String sourceFileName,
                                                                     java.lang.String[] variables)
Gives a JavaClass object of an autogenerated BlackBoard class.

Parameters:
className - - the name for the BlackBoard class.
sourceFileName - - a filename for the BlackBoard class.
variables - - an array of variable names to be added to the class.
Returns:
a JavaClass object representing a BlackBoard.