FileDocCategorySizeDatePackage
Consumer.javaAPI DocJBoss 4.2.13136Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.metamodel

Consumer

public class Consumer extends EnterpriseBean
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private static final Logger
log
private String
destination
private String
destinationType
private CurrentMessage
currentMessage
private MessageProperties
messageProperties
private List
producers
private List
localProducers
Constructors Summary
Methods Summary
public voidaddLocalProducer(Producer producer)

      localProducers.add(producer);
   
public voidaddProducer(Producer producer)

      producers.add(producer);
   
public CurrentMessagegetCurrentMessage()

      return currentMessage;
   
public java.lang.StringgetDestination()

   
     
   
      return destination;
   
public java.lang.StringgetDestinationType()

      return destinationType;
   
public java.util.ListgetLocalProducers()

      return localProducers;
   
public MessagePropertiesgetMessageProperties()

      return messageProperties;
   
public java.util.ListgetProducers()

      return producers;
   
public voidsetCurrentMessage(CurrentMessage currentMessage)

      this.currentMessage = currentMessage;
   
public voidsetDestination(java.lang.String destination)

      this.destination = destination;
   
public voidsetDestinationType(java.lang.String destinationType)

      this.destinationType = destinationType;
   
public voidsetMessageProperties(MessageProperties messageProperties)

      this.messageProperties = messageProperties;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[Consumer:");
      sb.append(super.toString());
      sb.append(", destination=" + destination);
      sb.append(", destinationType=" + destinationType);
      sb.append(']");
      return sb.toString();