1 23 package org.hammurapi.inspectors.testcases.violations; 24 25 import javax.ejb.SessionBean ; 26 import javax.ejb.SessionContext ; 27 28 33 public class DefineFinalizeInEjbRuleViolationTestCase implements SessionBean { 34 35 private static 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 63 public void finalize() { 64 this.context = null; 65 } 66 67 } 68 69 | Popular Tags |