BeanNameELResolver
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if bean creation is supported
false otherwise.The name of the bean beanName)Allow creating a bean of the given name if it does not exist. |
| public Object | |
| public boolean | Returns: true if the name is resolved by this BeanNameResolver; false otherwise.The name of the bean. beanName)Returns whether the given name is resolved by the BeanNameResolver |
| public boolean | Returns: true if the bean can be set to a new value.
false otherwise.The name of the bean beanName)Indicates if the bean of the given name is read-only or writable |
| public void | setBeanValue(String
The name of the bean beanName, Object The value to set the bean to. Can be value)null.Sets a value to a bean of the given name. |
| BeanNameResolver | back to summary |
|---|---|
| public BeanNameResolver() | |
| canCreateBean | back to summary |
|---|---|
| public boolean canCreateBean(String beanName) Allow creating a bean of the given name if it does not exist.
| |
| getBean | back to summary |
|---|---|
| public Object getBean(String beanName) Returns the bean known by its name. | |
| isNameResolved | back to summary |
|---|---|
| public boolean isNameResolved(String beanName) Returns whether the given name is resolved by the BeanNameResolver
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(String beanName) Indicates if the bean of the given name is read-only or writable
| |
| setBeanValue | back to summary |
|---|---|
| public void setBeanValue(String beanName, Object value) throws PropertyNotWritableException Sets a value to a bean of the given name.
If the bean of the given name
does not exist and if
| |