001: package com.puppycrawl.tools.checkstyle.j2ee;
002:
003: import java.rmi.RemoteException;
004:
005: import javax.ejb.EJBException;
006: import javax.ejb.SessionBean;
007: import javax.ejb.SessionContext;
008:
009: /**
010: * SessionBean test
011: */
012: public class InputSessionBean implements SessionBean {
013: /**
014: * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext)
015: */
016: public void setSessionContext(SessionContext arg0)
017: throws EJBException, RemoteException {
018: // TODO Auto-generated method stub
019:
020: }
021:
022: /**
023: * @see javax.ejb.SessionBean#ejbRemove()
024: */
025: public void ejbRemove() throws EJBException, RemoteException {
026: // TODO Auto-generated method stub
027:
028: }
029:
030: /**
031: * @see javax.ejb.SessionBean#ejbActivate()
032: */
033: public void ejbActivate() throws EJBException, RemoteException {
034: // TODO Auto-generated method stub
035:
036: }
037:
038: /**
039: * @see javax.ejb.SessionBean#ejbPassivate()
040: */
041: public void ejbPassivate() throws EJBException, RemoteException {
042: // TODO Auto-generated method stub
043:
044: }
045:
046: public void finalize(int i) {
047: return;
048: }
049: }
050:
051: abstract class AbstractSessionBean implements SessionBean {
052: }
053:
054: final class FinalSessionBean implements SessionBean {
055: public FinalSessionBean() {
056: }
057:
058: public void ejbCreate(int aInt) {
059: }
060:
061: public void ejbPostCreate(int aInt) {
062: }
063:
064: public Object method() {
065: this .equals("");
066: "".equals(this );
067: return this ;
068: }
069:
070: public void finalize() {
071: }
072:
073: /**
074: * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext)
075: */
076: public void setSessionContext(SessionContext arg0)
077: throws EJBException, RemoteException {
078: // TODO Auto-generated method stub
079:
080: }
081:
082: /**
083: * @see javax.ejb.SessionBean#ejbRemove()
084: */
085: public void ejbRemove() throws EJBException, RemoteException {
086: // TODO Auto-generated method stub
087:
088: }
089:
090: /**
091: * @see javax.ejb.SessionBean#ejbActivate()
092: */
093: public void ejbActivate() throws EJBException, RemoteException {
094: // TODO Auto-generated method stub
095:
096: }
097:
098: /**
099: * @see javax.ejb.SessionBean#ejbPassivate()
100: */
101: public void ejbPassivate() throws EJBException, RemoteException {
102: // TODO Auto-generated method stub
103:
104: }
105: }
|