本文整理匯總了Java中org.springframework.webflow.expression.spel.ScopeSearchingPropertyAccessor類的典型用法代碼示例。如果您正苦於以下問題:Java ScopeSearchingPropertyAccessor類的具體用法?Java ScopeSearchingPropertyAccessor怎麽用?Java ScopeSearchingPropertyAccessor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ScopeSearchingPropertyAccessor類屬於org.springframework.webflow.expression.spel包,在下文中一共展示了ScopeSearchingPropertyAccessor類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getSpringExpressionParser
import org.springframework.webflow.expression.spel.ScopeSearchingPropertyAccessor; //導入依賴的package包/類
/**
* Gets spring expression parser.
*
* @return the spring expression parser
*/
protected SpringELExpressionParser getSpringExpressionParser() {
final SpelParserConfiguration configuration = new SpelParserConfiguration();
final SpelExpressionParser spelExpressionParser = new SpelExpressionParser(configuration);
final SpringELExpressionParser parser = new SpringELExpressionParser(spelExpressionParser,
this.flowBuilderServices.getConversionService());
parser.addPropertyAccessor(new ActionPropertyAccessor());
parser.addPropertyAccessor(new BeanFactoryPropertyAccessor());
parser.addPropertyAccessor(new FlowVariablePropertyAccessor());
parser.addPropertyAccessor(new MapAdaptablePropertyAccessor());
parser.addPropertyAccessor(new MessageSourcePropertyAccessor());
parser.addPropertyAccessor(new ScopeSearchingPropertyAccessor());
parser.addPropertyAccessor(new BeanExpressionContextAccessor());
parser.addPropertyAccessor(new MapAccessor());
parser.addPropertyAccessor(new MapAdaptablePropertyAccessor());
parser.addPropertyAccessor(new EnvironmentAccessor());
parser.addPropertyAccessor(new ReflectivePropertyAccessor());
return parser;
}