1 15 package org.apache.tapestry.spec; 16 17 23 24 public class BeanLifecycle 25 { 26 29 30 public static final BeanLifecycle NONE = new BeanLifecycle("NONE"); 31 32 36 37 public static final BeanLifecycle REQUEST = new BeanLifecycle("REQUEST"); 38 39 42 43 public static final BeanLifecycle PAGE = new BeanLifecycle("PAGE"); 44 45 51 52 public static final BeanLifecycle RENDER = new BeanLifecycle("RENDER"); 53 54 private final String _name; 55 56 private BeanLifecycle(String name) 57 { 58 _name = name; 59 } 60 61 public String toString() 62 { 63 return "BeanLifecycle[" + _name + "]"; 64 } 65 66 public String getName() 67 { 68 return _name; 69 } 70 71 } | Popular Tags |