File tree Expand file tree Collapse file tree
java/com/baeldung/spring/spel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .baeldung .spring .spel ;
22
3- import com .baeldung .spring .spel .examples .* ;
3+ import com .baeldung .spring .spel .examples .SpelConditional ;
44import org .springframework .context .ApplicationContext ;
55import org .springframework .context .support .ClassPathXmlApplicationContext ;
66
Original file line number Diff line number Diff line change 22
33import com .baeldung .spring .spel .entity .Car ;
44import com .baeldung .spring .spel .entity .CarPark ;
5- import org .springframework .expression .EvaluationContext ;
6- import org .springframework .expression .Expression ;
75import org .springframework .expression .ExpressionParser ;
86import org .springframework .expression .spel .SpelParserConfiguration ;
97import org .springframework .expression .spel .standard .SpelExpressionParser ;
108import org .springframework .expression .spel .support .StandardEvaluationContext ;
119
12- import java .util .ArrayList ;
13- import java .util .List ;
14-
1510public class SpelParser {
1611 public static void main (String [] args ) {
1712 Car car = new Car ();
Original file line number Diff line number Diff line change 33 xmlns : context =" http://www.springframework.org/schema/context"
44 xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd" >
55
6- <context : component-scan base-package =" com.baeldung.spring.spel" />
6+ <context : component-scan base-package =" com.baeldung.spring.spel" />
77
88</beans >
Original file line number Diff line number Diff line change 33 xmlns : context =" http://www.springframework.org/schema/context"
44 xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd" >
55
6- <context : component-scan base-package =" com.baeldung.spring.spel" />
6+ <context : component-scan base-package =" com.baeldung.spring.spel" />
77
88</beans >
You can’t perform that action at this time.
0 commit comments