1 7 package org.jboss.ejb3.dd; 8 9 import java.util.ArrayList ; 10 import java.util.List ; 11 12 import org.jboss.logging.Logger; 13 14 21 public class Inject 22 { 23 private static final Logger log = Logger.getLogger(Inject.class); 24 25 private List methods = new ArrayList (); 26 private String jndiName; 27 28 public String getJndiName() 29 { 30 return jndiName; 31 } 32 33 public void setJndiName(String jndiName) 34 { 35 this.jndiName = jndiName; 36 } 37 38 public List getMethods() 39 { 40 return methods; 41 } 42 43 public void addMethod(Method method) 44 { 45 methods.add(method); 46 } 47 48 public String toString() 49 { 50 StringBuffer sb = new StringBuffer (100); 51 sb.append("["); 52 sb.append("jndiName=").append(jndiName); 53 sb.append("]"); 54 return sb.toString(); 55 } 56 } 57 | Popular Tags |