org.apache.beehive.controls.runtime.bean
Class ClientInitializer
Object
ClientInitializer
public abstract class ClientInitializer
- extends Object
The ClientInitializer class is an abstract base class that all generated Control
client initializer classes will extend. It provides common utilities and supporting code
for initialization, and has a shared package relationship with the base ControlBean
class providing access to internals not available in a more general context.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientInitializer
public ClientInitializer()
enforceVersionRequired
protected static void enforceVersionRequired(ControlBean control,
VersionRequired versionRequired)
- Enforces the VersionRequired annotation at runtime (called when an instance of a control is annotated
with VersionRequired). Throws a ControlException if enforcement fails.
- Parameters:
versionRequired
- the value of the VersionRequired annotation on a control field
getAnnotationMap
public static PropertyMap getAnnotationMap(ControlBeanContext cbc,
AnnotatedElement annotElem)
- Returns the annotation map for the specified element.