1 22 package org.jboss.ejb3.metamodel; 23 24 import org.jboss.logging.Logger; 25 26 27 34 public class MessageDestination 35 { 36 private static final Logger log = Logger.getLogger(MessageDestination.class); 37 38 private String messageDestinationName; 39 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 String getMessageDestinationName() 53 { 54 return messageDestinationName; 55 } 56 57 public void setMessageDestinationName(String messageDestinationName) 58 { 59 this.messageDestinationName = messageDestinationName; 60 } 61 62 public String toString() 63 { 64 StringBuffer sb = new StringBuffer (100); 65 sb.append("[MessageDestination: "); 66 sb.append("messageDestinationName=").append(messageDestinationName); 67 sb.append(", jndiName=").append(jndiName); 68 sb.append("]"); 69 return sb.toString(); 70 } 71 } 72 | Popular Tags |