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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 4.3.1.Final
    • None
    • EAP72 -> EAP73
    • None
    • MA Sprint 13, MA Sprint 14
    • None

      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();
      

              mrizzi@redhat.com Marco Rizzi
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: