| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ j2ee Javadoc ] |
Source code: com/puppycrawl/tools/checkstyle/j2ee/InputSessionBean.java
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 /** 10 * SessionBean test 11 */ 12 public class InputSessionBean 13 implements SessionBean 14 { 15 /** 16 * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) 17 */ 18 public void setSessionContext(SessionContext arg0) throws EJBException, RemoteException { 19 // TODO Auto-generated method stub 20 21 } 22 23 /** 24 * @see javax.ejb.SessionBean#ejbRemove() 25 */ 26 public void ejbRemove() throws EJBException, RemoteException { 27 // TODO Auto-generated method stub 28 29 } 30 31 /** 32 * @see javax.ejb.SessionBean#ejbActivate() 33 */ 34 public void ejbActivate() throws EJBException, RemoteException { 35 // TODO Auto-generated method stub 36 37 } 38 39 /** 40 * @see javax.ejb.SessionBean#ejbPassivate() 41 */ 42 public void ejbPassivate() throws EJBException, RemoteException { 43 // TODO Auto-generated method stub 44 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 /** 84 * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) 85 */ 86 public void setSessionContext(SessionContext arg0) throws EJBException, RemoteException { 87 // TODO Auto-generated method stub 88 89 } 90 91 /** 92 * @see javax.ejb.SessionBean#ejbRemove() 93 */ 94 public void ejbRemove() throws EJBException, RemoteException { 95 // TODO Auto-generated method stub 96 97 } 98 99 /** 100 * @see javax.ejb.SessionBean#ejbActivate() 101 */ 102 public void ejbActivate() throws EJBException, RemoteException { 103 // TODO Auto-generated method stub 104 105 } 106 107 /** 108 * @see javax.ejb.SessionBean#ejbPassivate() 109 */ 110 public void ejbPassivate() throws EJBException, RemoteException { 111 // TODO Auto-generated method stub 112 113 } 114 } 115