Person.java |
/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.cluster.web; /** * Class acting as a session attribute. Used to test scoped class loader. */ public class Person implements java.io.Serializable { static final long serialVersionUID = -4656567842020674680L; private String name; private int age; public Person(String name, int age) { this.name = name; this.age = age; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setAge(int age) { this.age = age; } public int getAge() { return age; } }
Person.java |