1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.List ; 25 import java.util.ArrayList ; 26 27 import org.jboss.logging.Logger; 28 29 36 public class Producer 37 { 38 private static final Logger log = Logger.getLogger(Producer.class); 39 40 private String className; 42 private String connectionFactory; 43 private boolean local = false; 44 45 public Producer(boolean local) 46 { 47 this.local = local; 48 } 49 50 public boolean isLocal() 51 { 52 return local; 53 } 54 55 public String getClassName() 56 { 57 return className; 58 } 59 60 public void setClassName(String className) 61 { 62 this.className = className; 63 } 64 65 public String getConnectionFactory() 66 { 67 return connectionFactory; 68 } 69 70 public void setConnectionFactory(String connectionFactory) 71 { 72 this.connectionFactory = connectionFactory; 73 } 74 75 public String toString() 76 { 77 StringBuffer sb = new StringBuffer (100); 78 sb.append('['); 79 sb.append("className=").append(className); 80 sb.append(", connectionFactory=").append(connectionFactory); 81 sb.append(']'); 82 return sb.toString(); 83 } 84 } 85 | Popular Tags |