KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > j2ee > InputSessionBean


1 package com.puppycrawl.tools.checkstyle.j2ee;
2
3 import java.rmi.RemoteException JavaDoc;
4
5 import javax.ejb.EJBException JavaDoc;
6 import javax.ejb.SessionBean JavaDoc;
7 import javax.ejb.SessionContext JavaDoc;
8
9 /**
10  * SessionBean test
11  */

12 public class InputSessionBean
13     implements SessionBean JavaDoc
14 {
15     /**
16      * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext)
17      */

18     public void setSessionContext(SessionContext JavaDoc arg0) throws EJBException JavaDoc, RemoteException JavaDoc {
19         // TODO Auto-generated method stub
20

21     }
22
23     /**
24      * @see javax.ejb.SessionBean#ejbRemove()
25      */

26     public void ejbRemove() throws EJBException JavaDoc, RemoteException JavaDoc {
27         // TODO Auto-generated method stub
28

29     }
30
31     /**
32      * @see javax.ejb.SessionBean#ejbActivate()
33      */

34     public void ejbActivate() throws EJBException JavaDoc, RemoteException JavaDoc {
35         // TODO Auto-generated method stub
36

37     }
38
39     /**
40      * @see javax.ejb.SessionBean#ejbPassivate()
41      */

42     public void ejbPassivate() throws EJBException JavaDoc, RemoteException JavaDoc {
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 JavaDoc
55 {
56 }
57
58 final class FinalSessionBean
59     implements SessionBean JavaDoc
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 JavaDoc 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 JavaDoc arg0) throws EJBException JavaDoc, RemoteException JavaDoc {
87         // TODO Auto-generated method stub
88

89     }
90
91     /**
92      * @see javax.ejb.SessionBean#ejbRemove()
93      */

94     public void ejbRemove() throws EJBException JavaDoc, RemoteException JavaDoc {
95         // TODO Auto-generated method stub
96

97     }
98
99     /**
100      * @see javax.ejb.SessionBean#ejbActivate()
101      */

102     public void ejbActivate() throws EJBException JavaDoc, RemoteException JavaDoc {
103         // TODO Auto-generated method stub
104

105     }
106
107     /**
108      * @see javax.ejb.SessionBean#ejbPassivate()
109      */

110     public void ejbPassivate() throws EJBException JavaDoc, RemoteException JavaDoc {
111         // TODO Auto-generated method stub
112

113     }
114 }
115
116
Popular Tags