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

Object
  extended by ImplInitializer

public class ImplInitializer
extends Object

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


Constructor Summary
protected ImplInitializer(AptControlImplementation 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
 AptControlImplementation getControlImplementation()
          Returns the ControlBean implementation instance
 AptControlInterface getControlInterface()
          Returns the public or extension interface associated with the ControlBean implementation
 String getPackage()
          Returns the package name of the ImplInitializer
 ArrayList<AptField> 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
 boolean hasSuperClass()
          Returns true if the ImplInitializer has a super class
static boolean needsReflection(AptField genField)
          Returns true if the initializer will use Reflection to initialize the field, false otherwise.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplInitializer

protected ImplInitializer(AptControlImplementation 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


getShortName

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


getClassName

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


getClientInitializerName

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


getControlImplementation

public AptControlImplementation getControlImplementation()
Returns the ControlBean implementation instance


getControlInterface

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


getSuperClass

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


hasSuperClass

public boolean hasSuperClass()
Returns true if the ImplInitializer has a super class


needsReflection

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


getReflectFields

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