2 Replies Latest reply on Jan 7, 2008 5:54 PM by Andrew Rubinger

    Enums with no References in External API

    Andrew Rubinger Master

      ejb3-ext-api contains:

      org.jboss.ejb3.annotation.AcknowledgementMode
      org.jboss.ejb3.annotation.Durability

      ...which have no references within the project, and, it appears, in AS:

      [alrubinger@localhost trunk]$ grep -R 'org.jboss.ejb3.annotation.Durability' .
      Binary file ./build/output/jboss-5.0.0.Beta3/client/jbossall-client.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/client/jboss-ejb3-ext-api.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/server/default/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/server/all/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./thirdparty/jboss/jboss-ejb3-ext-api/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./thirdparty/jboss/jboss-ejb3-ext-api/lib/jboss-ejb3-ext-api-sources.jar matches
      
      [alrubinger@localhost trunk]$ grep -R 'org.jboss.ejb3.annotation.AcknowledgementMode' .
      Binary file ./build/output/jboss-5.0.0.Beta3/client/jbossall-client.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/client/jboss-ejb3-ext-api.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/server/default/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./build/output/jboss-5.0.0.Beta3/server/all/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./thirdparty/jboss/jboss-ejb3-ext-api/lib/jboss-ejb3-ext-api.jar matches
      Binary file ./thirdparty/jboss/jboss-ejb3-ext-api/lib/jboss-ejb3-ext-api-sources.jar matches
      
      [alrubinger@localhost trunk]$ pwd
      /home/alrubinger/business/jboss/wc/jbossas/trunk
      


      Possibilities:

      1) These are vestigal, should be deleted
      2) Are referenced by other components outside AS
      3) Have their *values* referenced directly by AS, and should be bound together

      In any of these cases, these classes no longer belong in ext-api (impl at best).

      Anyone seeing a reason why these should not be removed?

      S,
      ALR