KickJava   Java API By Example, From Geeks To Geeks.

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


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.EntityBean JavaDoc;
7 import javax.ejb.EntityContext JavaDoc;
8 import javax.ejb.RemoveException JavaDoc;
9
10 /**
11  * Test EntityBean that is missing a public constructor with no parameters.
12  */

13 public class InputEntityBeanMissingConstructor
14     implements EntityBean JavaDoc
15 {
16     public InputEntityBeanMissingConstructor(Object JavaDoc aObject)
17     {
18     }
19
20     public Object JavaDoc thisMethod(Object JavaDoc aObject)
21     {
22         thisMethod(this);
23         return this;
24     }
25     
26     static int sInt;
27     /**
28      * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
29      */

30     public void setEntityContext(EntityContext JavaDoc arg0) throws EJBException JavaDoc, RemoteException JavaDoc {
31         // TODO Auto-generated method stub
32

33     }
34
35     /**
36      * @see javax.ejb.EntityBean#unsetEntityContext()
37      */

38     public void unsetEntityContext() throws EJBException JavaDoc, RemoteException JavaDoc {
39         // TODO Auto-generated method stub
40

41     }
42
43     /**
44      * @see javax.ejb.EntityBean#ejbRemove()
45      */

46     public void ejbRemove() throws RemoveException JavaDoc, EJBException JavaDoc, RemoteException JavaDoc {
47         // TODO Auto-generated method stub
48

49     }
50
51     /**
52      * @see javax.ejb.EntityBean#ejbActivate()
53      */

54     public void ejbActivate() throws EJBException JavaDoc, RemoteException JavaDoc {
55         // TODO Auto-generated method stub
56

57     }
58
59     /**
60      * @see javax.ejb.EntityBean#ejbPassivate()
61      */

62     public void ejbPassivate() throws EJBException JavaDoc, RemoteException JavaDoc {
63         // TODO Auto-generated method stub
64

65     }
66
67     /**
68      * @see javax.ejb.EntityBean#ejbLoad()
69      */

70     public void ejbLoad() throws EJBException JavaDoc, RemoteException JavaDoc {
71         // TODO Auto-generated method stub
72

73     }
74
75     /**
76      * @see javax.ejb.EntityBean#ejbStore()
77      */

78     public void ejbStore() throws EJBException JavaDoc, RemoteException JavaDoc {
79         // TODO Auto-generated method stub
80

81     }
82 }
Popular Tags