|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.config.java.valuesource.AbstractStringBasedValueResolver org.springframework.config.java.valuesource.MessageSourceValueSource
public class MessageSourceValueSource
TODO: JAVADOC - ELIMINATE?
ValueResolver
implementation backed by a Spring MessageSource
.
Constructor Summary | |
---|---|
MessageSourceValueSource(org.springframework.context.MessageSource messageSource)
Creates a new MessageSourceValueSource object. |
Method Summary | |
---|---|
java.lang.String |
getString(java.lang.String name)
Return value associated with name. |
Methods inherited from class org.springframework.config.java.valuesource.AbstractStringBasedValueResolver |
---|
resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageSourceValueSource(org.springframework.context.MessageSource messageSource)
properties
- Method Detail |
---|
public java.lang.String getString(java.lang.String name) throws ValueResolutionException
AbstractStringBasedValueResolver
getString
in class AbstractStringBasedValueResolver
ValueResolutionException
- if name cannot be found within this
ValueResolver
- it is incumbent upon all subclasses
to adhere to these semantics.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |