1 /* 2 * JBoss, the OpenSource J2EE webOS 3 * 4 * Distributable under LGPL license. 5 * See terms of license at gnu.org. 6 */ 7 package org.jboss.cache.tests.aop; 8 9 /** 10 * Test class for TreeCacheAOP. 11 * Student is a POJO that will be instrumentet with CacheInterceptor 12 * 13 * @version $Revision: 1.3 $ 14 * No need to declare annotation here since Person is an instanceof already. 15 */ 16 public class Student extends Person 17 { 18 19 private String year; 20 21 public String getYear() { return year; } 22 public void setYear(String year) { this.year = year; } 23 24 public String toString() 25 { 26 return "year=" + getYear() + " " + super.toString(); 27 } 28 29 } 30