1 22 package org.jboss.test.system.controller.integration.support; 23 24 import org.jboss.test.system.controller.support.Order; 25 import org.jboss.test.system.controller.support.Simple; 26 27 33 public class SimpleBean 34 { 35 36 private Simple simple; 37 38 public int createOrder; 39 public int startOrder; 40 public int stopOrder; 41 public int destroyOrder; 42 43 46 public SimpleBean() 47 { 48 } 49 50 55 public SimpleBean(Simple simple) 56 { 57 this.simple = simple; 58 } 59 60 65 public Simple getSimple() 66 { 67 return simple; 68 } 69 70 75 public void setSimple(Simple simple) 76 { 77 this.simple = simple; 78 } 79 80 public void create() 81 { 82 createOrder = Order.getOrder(); 83 } 84 85 public void start() 86 { 87 startOrder = Order.getOrder(); 88 } 89 90 public void create(Simple simple) 91 { 92 this.simple = simple; 93 createOrder = Order.getOrder(); 94 } 95 96 public void start(Simple simple) 97 { 98 this.simple = simple; 99 startOrder = Order.getOrder(); 100 } 101 102 public void install(Simple simple) 103 { 104 this.simple = simple; 105 } 106 } 107 | Popular Tags |