|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.text.BundleMessageFactory
public class BundleMessageFactory
This is a validation message factory as a service, so internationalized validation messages can easily be configured and obtained this way.
This class was designed especifically to overcome the problem of validation messages comming from different modules ( each with a particular resource bundle ), integrated in a single business logic interaction.
| Constructor Summary | |
|---|---|
BundleMessageFactory()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object... args)
Get a message associated with the given key and optional arguments. |
void |
setBundle(java.lang.String baseName)
Set the given bundle into the current class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleMessageFactory()
| Method Detail |
|---|
public final void setBundle(java.lang.String baseName)
public final java.lang.String getMessage(java.lang.String key,
java.lang.Object... args)
MessageFactory
getMessage in interface MessageFactorycom.acsinet_solutions.cetia3.types.MessageFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||