[jboss-dev-forums] [Design of EJB 3.0] - Enums with no References in External API

ALRubinger do-not-reply at jboss.com
Fri Jan 4 14:48:52 EST 2008


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 at 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 at 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 at 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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117182#4117182

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117182



More information about the jboss-dev-forums mailing list