1 23 package org.hammurapi.inspectors.testcases.violations; 24 25 import javax.ejb.SessionBean ; 26 import javax.ejb.SessionContext ; 27 28 33 public class ReturnThisFromEjbRuleViolationTestCase implements SessionBean { 34 35 private static final org.apache.log4j.Logger logger = 36 org.apache.log4j.Logger.getRootLogger(); 37 38 private SessionContext context; 39 40 41 public void ejbCreate() { 42 } 43 44 45 public void setSessionContext(final SessionContext pContext){ 46 this.context = pContext; 47 } 48 49 50 public void ejbActivate() { 51 } 52 53 54 public void ejbPassivate() { 55 } 56 57 58 public void ejbRemove() { 59 } 60 61 62 public Object getObject() { 63 64 return this; 66 67 } 68 } 69 70 | Popular Tags |