1 package com.puppycrawl.tools.checkstyle.j2ee; 2 3 import java.rmi.RemoteException ; 4 5 import javax.ejb.EJBException ; 6 import javax.ejb.SessionBean ; 7 import javax.ejb.SessionContext ; 8 9 12 public class InputSessionBean 13 implements SessionBean 14 { 15 18 public void setSessionContext(SessionContext arg0) throws EJBException , RemoteException { 19 21 } 22 23 26 public void ejbRemove() throws EJBException , RemoteException { 27 29 } 30 31 34 public void ejbActivate() throws EJBException , RemoteException { 35 37 } 38 39 42 public void ejbPassivate() throws EJBException , RemoteException { 43 45 } 46 47 public void finalize(int i) 48 { 49 return; 50 } 51 } 52 53 abstract class AbstractSessionBean 54 implements SessionBean 55 { 56 } 57 58 final class FinalSessionBean 59 implements SessionBean 60 { 61 public FinalSessionBean() 62 { 63 } 64 65 public void ejbCreate(int aInt) 66 { 67 } 68 69 public void ejbPostCreate(int aInt) 70 { 71 } 72 73 public Object method() 74 { 75 this.equals(""); 76 "".equals(this); 77 return this; 78 } 79 80 public void finalize() 81 { 82 } 83 86 public void setSessionContext(SessionContext arg0) throws EJBException , RemoteException { 87 89 } 90 91 94 public void ejbRemove() throws EJBException , RemoteException { 95 97 } 98 99 102 public void ejbActivate() throws EJBException , RemoteException { 103 105 } 106 107 110 public void ejbPassivate() throws EJBException , RemoteException { 111 113 } 114 } 115 116 | Popular Tags |