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

Developer Guide - Chapter 5 mentions deprecated classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.GA
    • 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

            dmichael@redhat.com David Michael (Inactive)
            mvinkler1@redhat.com Michal Vinkler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m