UNIMPLEMENTED FEATURE! Check this out in the next release.
Target: Any POJO annotated with @ProviderDefinition, @ApplicationDefinition, @ServiceDefinition or @StageDefinition.
Description: This annotation is used for inject a set of messages on an entity.
Remarks: The message file must have the structure of a Properties file. Several messages files can be associated to an entity. Translation to different languages can be supplied in files with .messages.en (English) and the like.
JavaDoc: Click here
Attributes:
| Name | Description | Data type | Required | Default value |
| value | Name of the message file. | String | Yes |
Example:
@Messages("someMessagesFile.messages")
@ApplicationDefinition("theAppID", provider="aProvider", name="This an example of an application")
public class anApplication {
...
}
See also: