1 22 package org.jboss.test.kernel.deployment.jboss.beans.simplepojo; 23 24 import java.io.Serializable ; 25 26 public class SimplePOJO implements Serializable 27 { 28 29 private static final long serialVersionUID = 1L; 30 31 private String constructorUsed; 32 33 private String something; 34 35 public boolean created = true; 36 37 public boolean started = true; 38 39 public boolean stopped = true; 40 41 public boolean destroyed = true; 42 43 public SimplePOJO() 44 { 45 constructorUsed = "()"; 46 } 47 48 public String getConstructorUsed() 49 { 50 return constructorUsed; 51 } 52 53 public String getSomething() 54 { 55 return something; 56 } 57 58 public void setSomething(String something) 59 { 60 this.something = something; 61 } 62 63 public void create() 64 { 65 created = true; 66 } 67 68 public void start() 69 { 70 created = true; 71 } 72 73 public void stop() 74 { 75 stopped = true; 76 } 77 78 public void destroy() 79 { 80 destroyed = true; 81 } 82 } 83 | Popular Tags |