org.glassfish.api
Annotation Type I18n


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

Identify an I18n resource associated with the annotated element. The value() holds the name of the resource as it stored in the LocalStrings.properties and can be used by the runtime to generate appropriate localized meta-data.

Author:
Jerome Dochez

Required Element Summary
 java.lang.String value
          Returns the string identify the i18n resource from the resource bundle associated with the class containing the annotation.
 

Element Detail

value

public abstract java.lang.String value
Returns the string identify the i18n resource from the resource bundle associated with the class containing the annotation.

Returns:
a string identifying the resource in the bundle


Copyright © 2012 GlassFish Community. All Rights Reserved.