Top Description Fields Constructors Methods
org.springframework.expression.spel.ast

public Class BeanReference

extends SpelNodeImpl
Class Inheritance
Imports
org.springframework.expression.AccessException, .BeanResolver, .EvaluationException, .TypedValue, org.springframework.expression.spel.ExpressionState, .SpelEvaluationException, .SpelMessage

Represents a bean reference to a type, for example @foo or @'foo.bar'. For a FactoryBean the syntax &foo can be used to access the factory itself.
Author
Andy Clement

Field Summary

Modifier and TypeField and Description
private final String
private static final String
Inherited from org.springframework.expression.spel.ast.SpelNodeImpl:
childrenexitTypeDescriptor

Constructor Summary

AccessConstructor and Description
public
BeanReference(int startPos, int endPos, String beanName)

Method Summary

Modifier and TypeMethod and Description
public TypedValue
public String
toStringAST()

Implements org.springframework.expression.spel.SpelNode.toStringAST.

Return the string form of this AST node.

Inherited from org.springframework.expression.spel.ast.SpelNodeImpl:
generateCodegenerateCodeForArgumentgenerateCodeForArgumentsgetChildgetChildCountgetEndPositiongetExitDescriptorgetObjectClassgetStartPositiongetTypedValuegetValuegetValuegetValueRefisCompilableisWritablenextChildIssetValuesetValueInternal

Field Detail

beanNameback to summary
private final String beanName
FACTORY_BEAN_PREFIXback to summary
private static final String FACTORY_BEAN_PREFIX

Constructor Detail

BeanReferenceback to summary
public BeanReference(int startPos, int endPos, String beanName)

Method Detail

getValueInternalback to summary
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException

Implements abstract org.springframework.expression.spel.ast.SpelNodeImpl.getValueInternal.

Annotations
@Override
toStringASTback to summary
public String toStringAST()

Implements org.springframework.expression.spel.SpelNode.toStringAST.

Doc from org.springframework.expression.spel.SpelNode.toStringAST.

Return the string form of this AST node.

Returns:String

the string form

Annotations
@Override