// active container context and implicitly associated the control with it.
//
if (context == null)
context = ControlThreadContext.getContext();
ControlBeanContextFactory cbcFactory = lookupControlBeanContextFactory(context);
_cbc = cbcFactory.instantiate(this);
//
// Associate this bean with the context. Beans may run without a context!
// Note that the add() call has the side-effect of calling ControlBean.setBeanContext(), which does
// additional setup work, so we make sure we always call that anyways!