Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3554

Migration Guide - Document deprecated org.jboss.logging classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.ER7
    • None
    • Documentation
    • None

      This issue is blocked by JBEAP-2597.

      UPDATE: The module org.jboss.logging:jboss-logging-annotations has been productized.

      In chapter 5. INTERNATIONALIZATION AND LOCALIZATION:
      There are mentioned imports from org.jboss.logging package (and also other references to this package), for example:

      5.2.1. JBoss Logging Tools Internationalization and Localization:
      ....
      Internationalized messages and exceptions are created as method definitions inside of interfaces annotated using org.jboss.logging annotations.
      ....
      MessageLogger
      This interface in the org.jboss.logging package is used to define internationalized log messages.

      5.2.2.1. Create Internationalized Log Messages
      ....
      It must extend org.jboss.logging.BasicLogger.
      ....
      import org.jboss.logging.BasicLogger;
      import org.jboss.logging.Logger;
      import org.jboss.logging.MessageLogger;

      Etc.

      However, some classes from org.jboss.logging package are deprecated.

      The correct package for these classes is org.jboss.logging.annotations provided in org.jboss.logging:jboss-logging-annotations module.

      For example see MessageLogger.java from jboss-logging module (deprecated) and MessageLogger.java from jboss-logging-annotations module.

      n_2117183_development-guide_version_7.0.beta_edition_1.0_release_0-revision_7644143

            sgilda_jira Sande Gilda (Inactive)
            sgilda_jira Sande Gilda (Inactive)
            Michal Vinkler Michal Vinkler
            Michal Vinkler Michal Vinkler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: