public Object getBeanProperty(final String name) {
		int ndx = name.indexOf('.');
		if (ndx == -1) {
			throw new PetiteException("Only bean name is specified, missing property name: " + name);
		}
		String beanName = name.substring(0, ndx);
		Object bean = getBean(beanName);
		if (bean == null) {
			throw new PetiteException("Bean doesn't exist: " + name);
		}
		try {
			return BeanUtil.declared.getProperty(bean, name.substring(ndx + 1));
		} catch (Exception ex) {
			throw new PetiteException("Invalid bean property: " + name, ex);
		}
	}
public Object getBeanProperty(final String name) {
		int ndx = name.indexOf('.');
		if (ndx == -1) {
			throw new PetiteException("Only bean name is specified, missing property name: " + name);
		}
		String beanName = name.substring(0, ndx);
		Object bean = getBean(beanName);
		if (bean == null) {
			throw new PetiteException("Bean doesn't exist: " + name);
		}
		try {
			return BeanUtil.declared.getProperty(bean, name.substring(ndx + 1));
		} catch (Exception ex) {
			throw new PetiteException("Invalid bean property: " + name, ex);
		}
	}
public Object getBeanProperty ( final String name ) { int ndx = name . indexOf ( ' ' ) ; if ( ndx == - 1 ) { throw new PetiteException ( "Only bean name is specified, missing property name: " + name ) ; } String beanName = name . substring ( 0 , ndx ) ; Object bean = getBean ( beanName ) ; if ( bean == null ) { throw new PetiteException ( "Bean doesn't exist: " + name ) ; } try { return BeanUtil . declared . getProperty ( bean , name . substring ( ndx + 1 ) ) ; } catch ( Exception ex ) { throw new PetiteException ( "Invalid bean property: " + name , ex ) ; } }
Returns petite bean property value.
Returns petite bean property value .