Справочник Пользователя для BEA WebLogic Server

Скачать
Страница из 88
2
Using Message Catalogs with BEA WebLogic Server
2-8
Internationalization Guide
Other log_message Catalog Elements
The following table describes the child elements of the log_message element.
method
None
Required
Method signature for logging this message. Two 
methods are actually provided: the one specified 
here and a similar one with an additional Throwable 
argument. 
The syntax is the standard Java method signature, 
without the qualifiers, semicolon, and extensions. 
Argument types can be any Java primitive or class. 
Classes must be fully qualified if not in 
java.lang
. Classes must also conform to 
java.text.MessageFormat
 conventions. In 
general, class arguments should have a useful 
toString()
 method.
Arguments can be any valid name, but should 
follow the convention of 
argn
 where 
n
 is 0 thru 9. 
There can be no more than ten (10) arguments. For 
each 
argn
 there should be at least one 
corresponding placeholder in the text elements 
described in
 Placeholders are of the form 
{n}
{n,number}
 or 
{n,date}
.
loggables
False
Optional
Indicates whether to generate methods to return 
Loggable objects for each message. The syntax is:
loggables="true"
Attribute
Default
Required/
Optional
Description