public void init() { for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) { InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next(); for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) { BindingComponent bindingComponent = (BindingComponent) iterator1.next(); bindingComponent.init(); } } }
public void updateDomain(Object bean) { for (InputCmpMgr inputCmpMgr : inputsCmpMgrs) { inputCmpMgr.setDefaultBean(bean); List components = inputCmpMgr.getComponents(); for (Iterator iterator = components.iterator(); iterator.hasNext(); ) { BindingComponent bindingComponent = (BindingComponent) iterator.next(); bindingComponent.setBeanWrapper(bean); } } }
public List<BindingComponent> getAllBindings() { List<BindingComponent> bindingComponents = new ArrayList(); List inputsCmpMgrs = getInputsCmpMgrs(); logger.debug("searching bindings registers ..."); for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) { InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next(); for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) { BindingComponent bindingComponent = (BindingComponent) iterator1.next(); logger.debug("bindingComponent <" + bindingComponent + ">"); bindingComponents.add(bindingComponent); } } return bindingComponents; }
public List getAllBindingsName() { List bindingComponents = new ArrayList(); List inputsCmpMgrs = getInputsCmpMgrs(); logger.debug("searching bindings registers ..."); for (Iterator iterator = inputsCmpMgrs.iterator(); iterator.hasNext(); ) { InputCmpMgr inputCmpMgr = (InputCmpMgr) iterator.next(); for (Iterator iterator1 = inputCmpMgr.getComponents().iterator(); iterator1.hasNext(); ) { BindingComponent bindingComponent = (BindingComponent) iterator1.next(); logger.debug("bindingComponent <" + bindingComponent + ">"); bindingComponent.getJComponent().getClientProperty(BindingComponent.ATTR_BND); bindingComponents.add(bindingComponent.getFieldName()); } } return bindingComponents; }