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

Object
  extended by AptField
      extended by AptEventField
          extended by AptContextField

public class AptContextField
extends AptEventField

The AptContextField class contains information about a field referring to a contextual service with an AptControlImplementation class.


Field Summary
 
Fields inherited from class AptField
_fieldDecl
 
Constructor Summary
AptContextField(AptControlImplementation controlImpl, FieldDeclaration fieldDecl, TwoPhaseAnnotationProcessor ap)
          Base constructor, protected so only a custom subclass can invoke
 
Method Summary
protected  AptControlInterface initControlInterface()
          Initializes a ControlInterface associated with this context field.
 
Methods inherited from class AptEventField
addEventAdaptor, getBoundParameters, getControlInterface, getEventAdaptor, getEventAdaptors, getTypeBindingMap
 
Methods inherited from class AptField
getAccessModifier, getClassName, getLocalName, getName, getReflectField, getType
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptContextField

public AptContextField(AptControlImplementation controlImpl,
                       FieldDeclaration fieldDecl,
                       TwoPhaseAnnotationProcessor ap)
Base constructor, protected so only a custom subclass can invoke

Parameters:
controlImpl - the declaring ControlImplementation
Method Detail

initControlInterface

protected AptControlInterface initControlInterface()
Initializes a ControlInterface associated with this context field. Because contextual services can expose both APIs and events, they are similar to controls.

Specified by:
initControlInterface in class AptEventField