| org.apache.beehive.controls.runtime.bean.ControlContainerContext org.apache.beehive.controls.test.container.ControlTestContainerContext
ControlTestContainerContext | public class ControlTestContainerContext extends ControlContainerContext (Code) | | ControlContainerContext implementation used to test controls in a standalone JVM.
|
ControlTestContainerContext | public ControlTestContainerContext()(Code) | | |
getService | public T getService(Class<T> serviceClass, Object selector)(Code) | | Override ControlBeanContext.getService(). A control bean creates its bean context using the
ControlBeanContextFactory service provided by this context. A control bean will attempt to create
its context before adding its self to this context as a child. This creates a chicken/egg problem since
only a child of a context may request a service from it.
This method provides a way to crack the chicken/egg problem by first trying to get the service using the
control bean context's getService() method, and if that call returns null and the requested service is
the ControlBeanContextFactory then returning an instance of the service provider.
Parameters: serviceClass - Parameters: selector - |
initialize | public void initialize()(Code) | | Called by BeanContextSupport superclass during construction and deserialization to
initialize subclass transient state
|
|
|