1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 import org.jboss.logging.Logger; 27 28 35 public class Inject 36 { 37 private static final Logger log = Logger.getLogger(Inject.class); 38 39 private List methods = new ArrayList (); 40 private String jndiName; 41 42 public String getJndiName() 43 { 44 return jndiName; 45 } 46 47 public void setJndiName(String jndiName) 48 { 49 this.jndiName = jndiName; 50 } 51 52 public List getMethods() 53 { 54 return methods; 55 } 56 57 public void addMethod(Method method) 58 { 59 methods.add(method); 60 } 61 62 public String toString() 63 { 64 StringBuffer sb = new StringBuffer (100); 65 sb.append("["); 66 sb.append("jndiName=").append(jndiName); 67 sb.append("]"); 68 return sb.toString(); 69 } 70 } 71 | Popular Tags |