In deed, this is not too obvious:
1. Autowiring is executed: http://jakarta.apache.org/hivemind/hivemind/BuilderFactory.html#Autowiring
TaskExecutor has a public property Messages that is automatically
set by BuilderFactory.
BuilderFactory uses the Messages instance that belongs to the module
in which TaskExecutor is used (panorama.startup)
2. Naming convention for localized Messages:
http://jakarta.apache.org/hivemind/localization.html
If a module is defined in panorama.startup.xml, than the corresponding message resource is loaded from panorama.startup.properties on the same path.
Achim Huegen
Ilia Honsali wrote:
where it is specified that the attribut _messages of type org.apache.hivemind.Messages in the class TaskExecutor must be initialized by the propeties file :descriptor/META-INF/panorama.startup.properties
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
