[jboss-dev-forums] [Design of EJB 3.0] - Re: Add @ApplicationException to EJBContainer?

wolfc do-not-reply at jboss.com
Fri Nov 23 04:52:06 EST 2007


On hindsight this is completely out of style with the current implementation.

For now ithe implementation should be:

EJBContainer:
boolean isApplicationException(Exception e) {
  |    return hasAnnotation(e, ApplicationException.class);
  | }

Ejb3DescriptorHandler:
void addApplicationException(...) {
  |    'scan assembly descriptor and addAnnotation'
  | }

See addAssemblyAnnotations.

The EJBContainer.isApplicationException will always be the supported API.

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

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



More information about the jboss-dev-forums mailing list