org.apache.beehive.controls.runtime.generator
Class ImplInitializer

Object
  extended by GenClass
      extended by ImplInitializer

public class ImplInitializer
extends GenClass

The ImplInitializer class is a generated class that contains the code necessary to initialize a ControlBean implementation instance.


Constructor Summary
protected ImplInitializer(ControlImpl controlImpl)
          Constructs a new ImplInitializer class supporting a particular control bean implementation
 
Method Summary
 String getClassName()
          Returns the fully qualfied classname of the ImplInitializer
 String getClientInitializerName()
          Returns the fully qualified classname of any associated ClientInitializer
 ControlImpl getControlImpl()
          Returns the ControlBean implementation instance
 ControlInterface getControlInterface()
          Returns the public or extension interface associated with the ControlBean implementation
 String getPackage()
          Returns the package name of the ImplInitializer
 ArrayList<GenField> getReflectFields()
          Returns the list of impl class fields that must be initialized using Reflection
 String getShortName()
          Returns the unqualified classname of the ImplInitializer
 ImplInitializer getSuperClass()
          Returns the ImplInitializer super class for this ImplInitializer
static boolean needsReflection(GenField genField)
          Returns true if the initializer will use Reflection to initialize the field, false otherwise.
 
Methods inherited from class GenClass
getCheckOutput, getGeneratedTypes, getGenerateOutput, hasSuperClass
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplInitializer

protected ImplInitializer(ControlImpl controlImpl)
Constructs a new ImplInitializer class supporting a particular control bean implementation

Parameters:
controlImpl - the control implementation to be initialized
Method Detail

getPackage

public String getPackage()
Returns the package name of the ImplInitializer

Specified by:
getPackage in class GenClass

getShortName

public String getShortName()
Returns the unqualified classname of the ImplInitializer

Specified by:
getShortName in class GenClass

getClassName

public String getClassName()
Returns the fully qualfied classname of the ImplInitializer

Specified by:
getClassName in class GenClass

getClientInitializerName

public String getClientInitializerName()
Returns the fully qualified classname of any associated ClientInitializer


getControlImpl

public ControlImpl getControlImpl()
Returns the ControlBean implementation instance


getControlInterface

public ControlInterface getControlInterface()
Returns the public or extension interface associated with the ControlBean implementation


getSuperClass

public ImplInitializer getSuperClass()
Returns the ImplInitializer super class for this ImplInitializer

Specified by:
getSuperClass in class GenClass

needsReflection

public static boolean needsReflection(GenField genField)
Returns true if the initializer will use Reflection to initialize the field, false otherwise.


getReflectFields

public ArrayList<GenField> getReflectFields()
Returns the list of impl class fields that must be initialized using Reflection