org.jboss.solder.messages
Annotation Type Locale


@Target(value={METHOD,FIELD,PARAMETER,TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface Locale

Specifies a Locale for a typed logger.

If no locale is specified, the default locale will be used.

Author:
Pete Muir
See Also:
MessageLogger, Locale.getDefault(), Logger.getMessageLogger(Class, String, java.util.Locale)

Required Element Summary
 String value
          The locale, using _ to separate the language code, country code and variant.
 

Element Detail

value

public abstract String value
The locale, using _ to separate the language code, country code and variant. Specifying the country code and variant is optional.



Copyright © 2008-2011 Seam Framework. All Rights Reserved.