// search for fields with @Control annotations
for (Field field : cls.getFields()) {
if (null != field.getAnnotation(Control.class)) {
//attempt to load using client initializer.
ControlContainerContext ccc = ControlThreadContext.getContext();
if (null == ccc) {
throw new Exception("no control container context found");
}
Class clientInitializer = cls.getClassLoader().loadClass(cls.getName() + "ClientInitializer");
Method init = clientInitializer.getMethod("initialize", ControlBeanContext.class, cls);