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

Object
  extended by ImplInitializer

public abstract class ImplInitializer
extends Object

The ImplInitializer class is an abstract base class that all generated Control initalization 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.


Constructor Summary
ImplInitializer()
           
 
Method Summary
 Object getEventNotifier(ControlBean bean, Class eventSet)
          Returns the ControlBean event notifier for the specified eventSet
 void initControls(ControlBean bean, Object target)
          Initializes all nested controls required by the target implementation instance.
 void initEventProxies(ControlBean bean, Object target)
          Initializes all event proxies required by the target implementation instance.
 void initialize(ControlBean bean, Object target)
          Initializes a new ControlImplementation instance associated with the specified bean.
 void initServices(ControlBean bean, Object target)
          Initializes all contextual services required by the target implementation instance.
 void resetServices(ControlBean bean, Object target)
          Resets all contextual services on the target implementation instance to null.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplInitializer

public ImplInitializer()
Method Detail

initialize

public void initialize(ControlBean bean,
                       Object target)
Initializes a new ControlImplementation instance associated with the specified bean.


initServices

public void initServices(ControlBean bean,
                         Object target)
Initializes all contextual services required by the target implementation instance. The default initializer implementation is a noop, but will be overridden by generated subclasses that contain contextual services.


resetServices

public void resetServices(ControlBean bean,
                          Object target)
Resets all contextual services on the target implementation instance to null. The default initializer implementation is a noop, but will be overridden by generated subclasses that contain contextual services.


initControls

public void initControls(ControlBean bean,
                         Object target)
Initializes all nested controls required by the target implementation instance. The default initializer implementation is a noop, but will be overridden by generated subclasses that contain nested controls


initEventProxies

public void initEventProxies(ControlBean bean,
                             Object target)
Initializes all event proxies required by the target implementation instance. The default initializer implementation is a noop, but will be overridden by generated subclasses that contain event proxies


getEventNotifier

public Object getEventNotifier(ControlBean bean,
                               Class eventSet)
Returns the ControlBean event notifier for the specified eventSet