private void coerceNamespaceAwarePropertyValues(MutableBeanMetadata bd, Element element, ParserContext parserContext) { // lets check for any QName types BeanInfo beanInfo = getBeanInfo(getClass(bd.getClassName())); if (beanInfo != null) { PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); for (PropertyDescriptor descriptor : descriptors) { QNameHelper.coerceNamespaceAwarePropertyValues(bd, element, descriptor, parserContext); } } }
private void coerceNamespaceAwarePropertyValues(MutableBeanMetadata bd, Element element, ParserContext parserContext) { // lets check for any QName types BeanInfo beanInfo = getBeanInfo(getClass(bd.getClassName())); if (beanInfo != null) { PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); for (PropertyDescriptor descriptor : descriptors) { QNameHelper.coerceNamespaceAwarePropertyValues(bd, element, descriptor, parserContext); } } }
private void handleComponent(MutableBeanMetadata compDef, Bundle bundle, ComponentDefinitionRegistry cdr, BlueprintContainer container) { final String compName = compDef.getId(); if (compDef.getClassName() == null) { LOGGER.debug("No classname for " + compDef.getId()); return; compClass = bundle.loadClass(compDef.getClassName()); } catch (final ClassNotFoundException e) { throw new IllegalArgumentException("Bean class not found " + compDef.getClassName(), e);
Class actionClass = getBundle(context).loadClass(action.getClassName()); scope = getScope(actionClass); function = getName(actionClass); } catch (Throwable e) { throw new ComponentDefinitionException("Unable to introspect action " + action.getClassName(), e);