1 29 30 package com.caucho.config; 31 32 import com.caucho.log.Log; 33 import com.caucho.util.L10N; 34 35 import java.util.logging.Logger ; 36 37 40 public class DynamicItem { 41 static final Logger log = Log.open(DynamicItem.class); 42 static final L10N L = new L10N(DynamicItem.class); 43 44 private String _tag; 45 private Class _beanClass; 46 private String _methodName; 47 48 51 public DynamicItem() 52 { 53 } 54 55 62 public DynamicItem(String tag, Class beanClass, String methodName) 63 { 64 _tag = tag; 65 _beanClass = beanClass; 66 _methodName = methodName; 67 } 68 69 74 public String getTag() 75 { 76 return _tag; 77 } 78 79 82 public void setTag(String tag) 83 { 84 _tag = tag; 85 } 86 87 90 public Class getBeanClass() 91 { 92 return _beanClass; 93 } 94 95 98 public void setBeanClass(Class beanClass) 99 { 100 _beanClass = beanClass; 101 } 102 103 106 public String getMethodName() 107 { 108 return _methodName; 109 } 110 111 114 public void setMethodName(String methodName) 115 { 116 _methodName = methodName; 117 } 118 119 public String toString() 120 { 121 return ("DynamicItem[tag=" + _tag + ",class=" + _beanClass.getName() + 122 ",method=" + _methodName + "]"); 123 } 124 } 125 126 | Popular Tags |