com.metaboss.enterprise.messages |
This package contains elements of the Message framework. In the enterprise model
every kind of message is represented by the dedicated java type. (This is somewhat similar to
exceptions.). The full package + class name of the message object is used as its unique id.
Every message can contain any number of attributes accessible via getters and setters.
This makes it very easy to use message programmatically (i.e. for conditional expression)
When message is rendered toString() method it uses localised text resource files (gets text with corresponding id)
and java.text.MessageFormat to create actual text message.
|
Java Source File Name | Type | Comment |
DefaultMessageContainerImplementation.java | Class | Default implementation of the message container. |
DefaultMessageImplementation.java | Class | Default implementation of the message object. |
Message.java | Interface | Generic Message base interface. |
MessageContainer.java | Interface | Message Container is an abstraction of the collection of messages. |