# SpEL

## Operations

### Acquiring a Bean

Using the name of a value or a constant:

```
#{beanName}
```

```
#{property.name}
```

Properties can be used:

```
#{${property.name}}
```

Or a reference to a registered bean:

```
#{@beanName}
```

It is possible to get a factory:

```
#{&beanName}
```

### Checking Properties

```
#{'${property.name}'.contains('Some text')}
```

### Default Values

```
${properties.booleanValue:false}
```

It may be the empty string:

```
${properties.textValue:}
```

### Type Safe Operations

```
#{bean?.field}
```

## More Information

* [Spring Expression Language](https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html#expressions)
