Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-403

Create rule to remove javax.ejb.SessionBean interface from implements clause of singleton EJB bean class

    Details

      Description

      When a singleton EJB bean class implements javax.ejb.SessionBean interface,

      this interface should be removed from the implements clause; and all methods declared in javax.ejb.SessionBean interface (see below) that are implemented in the bean class or its super classes should be checked for @Override annotation, and remove this annotation too if present.

      Methods declared by javax.ejb.SessionBean interface:

      void setSessionContext(SessionContext ctx);
      
      void ejbRemove();
      
      void ejbActivate();
      
      void ejbPassivate();
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mrizzi Marco Rizzi
                  Reporter:
                  cfang Cheng Fang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: