Module xaos.tools

Annotation Type Bundle


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Bundle
    This annotation provides the way of changing the resource bundle name from the default "Bundle.properties" to something else.

    Note: This annotation cannot be applied to inner classes/interface.

    Author:
    claudio.rosati@esss.se
    See Also:
    Bundles
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      The name (without extension and path) of the resource bundle for the class or interface annotated by this annotation.
    • Element Detail

      • name

        String name
        The name (without extension and path) of the resource bundle for the class or interface annotated by this annotation. The resource bundle generated will be in the same packaged of the annotated class/interface with the standard .properties extension.
        Returns:
        The resource bundle name.