Example usage for org.springframework.beans AbstractNestablePropertyAccessor getPropertyValue

List of usage examples for org.springframework.beans AbstractNestablePropertyAccessor getPropertyValue

Introduction

In this page you can find the example usage for org.springframework.beans AbstractNestablePropertyAccessor getPropertyValue.

Prototype

@SuppressWarnings("unchecked")
    @Nullable
    protected Object getPropertyValue(PropertyTokenHolder tokens) throws BeansException 

Source Link

Usage

From source file:org.springframework.beans.AbstractNestablePropertyAccessor.java

@Override
@Nullable//from w ww  .j ava  2s . co m
public Object getPropertyValue(String propertyName) throws BeansException {
    AbstractNestablePropertyAccessor nestedPa = getPropertyAccessorForPropertyPath(propertyName);
    PropertyTokenHolder tokens = getPropertyNameTokens(getFinalPath(nestedPa, propertyName));
    return nestedPa.getPropertyValue(tokens);
}