1 7 package org.jboss.ejb; 8 9 15 public class EJBImpl implements javax.annotation.EJB 16 { 17 private String beanName = ""; 18 private Class businessInterface = java.lang.Object .class; 19 private String name = ""; 20 21 public EJBImpl() 22 { 23 } 24 25 public Class businessInterface() 26 { 27 return businessInterface; 28 } 29 30 public void setBusinessInterface(Class businessInterface) 31 { 32 this.businessInterface = businessInterface; 33 } 34 35 public String name() 36 { 37 return name; 38 } 39 40 public void setName(String name) 41 { 42 this.name = name; 43 } 44 45 public String beanName() 46 { 47 return beanName; 48 } 49 50 public void setBeanName(String beanName) 51 { 52 this.beanName = beanName; 53 } 54 55 public Class annotationType() 56 { 57 return javax.annotation.EJB.class; 58 } 59 60 public String toString() 61 { 62 StringBuffer sb = new StringBuffer (100); 63 sb.append("["); 64 sb.append("name=").append(name); 65 sb.append(",beanName=").append(beanName); 66 sb.append(",businessInterface=").append(businessInterface); 67 sb.append("]"); 68 return sb.toString(); 69 } 70 } 71 | Popular Tags |