org.apache.beehive.controls.api.context
Interface ControlContainerContext

All Superinterfaces:
BeanContext, BeanContextChild, BeanContextServiceRevokedListener, BeanContextServices, BeanContextServicesListener, Collection, ControlBeanContext, DesignMode, EventDispatcher, EventListener, Iterable, Visibility
All Known Implementing Classes:
ControlContainerContext, ServletBeanContext

public interface ControlContainerContext
extends EventDispatcher, ControlBeanContext

The ControlContainerContext interface defines the basic contract between an external container of controls and the Controls runtime.


Nested Class Summary
 
Nested classes/interfaces inherited from interface ControlBeanContext
ControlBeanContext.LifeCycle
 
Field Summary
 
Fields inherited from interface BeanContext
globalHierarchyLock
 
Fields inherited from interface DesignMode
PROPERTYNAME
 
Method Summary
 void beginContext()
          Makes the ControlContainerContext instance the current active context.
 void endContext()
          Ends the active context associated with the ControlContainerContext.
 ControlHandle getControlHandle(ControlBean bean)
          Returns a ControlHandle to the component containing the control.
 
Methods inherited from interface EventDispatcher
dispatchEvent
 
Methods inherited from interface ControlBeanContext
addLifeCycleListener, getAnnotationMap, getBean, getClassLoader, getControlBean, getControlHandle, getControlInterface, getControlPropertyMap, getControlPropertySet, getMethodPropertySet, getParameterNames, getParameterPropertySet, getParameterValue, getService, isSingleThreadedContainer, removeLifeCycleListener
 
Methods inherited from interface BeanContextServices
addBeanContextServicesListener, addService, getCurrentServiceClasses, getCurrentServiceSelectors, getService, hasService, releaseService, removeBeanContextServicesListener, revokeService
 
Methods inherited from interface BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 
Methods inherited from interface BeanContextServicesListener
serviceAvailable
 
Methods inherited from interface BeanContextServiceRevokedListener
serviceRevoked
 

Method Detail

beginContext

void beginContext()
Makes the ControlContainerContext instance the current active context. This is called at the beginning of the execution scope for the control container.


endContext

void endContext()
Ends the active context associated with the ControlContainerContext. This is called at the end of the execution scope for the control container.


getControlHandle

ControlHandle getControlHandle(ControlBean bean)
Returns a ControlHandle to the component containing the control. This handle can be used to dispatch events and operations to a control instance. This method will return null if the containing component does not support direct dispatch.