FileDocCategorySizeDatePackage
ProducerImpl.javaAPI DocJBoss 4.2.12547Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.mdb

ProducerImpl

public class ProducerImpl extends Object implements Serializable, org.jboss.annotation.ejb.Producer
comment
author
Bill Burke

Fields Summary
private static final long
serialVersionUID
private String
connectionFactory
private boolean
transacted
private int
acknowledgeMode
private Class
producer
Constructors Summary
public ProducerImpl(Class producer)

   
     
   
      this.producer = producer;
   
public ProducerImpl(String connectionFactory, boolean transacted, int acknowledgeMode)

      this.connectionFactory = connectionFactory;
      this.transacted = transacted;
      this.acknowledgeMode = acknowledgeMode;
   
public ProducerImpl(org.jboss.annotation.ejb.Producer producer)

      connectionFactory = producer.connectionFactory();
      transacted = producer.transacted();
      acknowledgeMode = producer.acknowledgeMode();
   
Methods Summary
public intacknowledgeMode()

      return acknowledgeMode;
   
public java.lang.ClassannotationType()

      return Producer.class;
   
public java.lang.StringconnectionFactory()

      return connectionFactory;
   
public java.lang.Classproducer()

      return producer;
   
public voidsetConnectionFactory(java.lang.String connectionFactory)

      this.connectionFactory = connectionFactory;
   
public booleantransacted()

      return transacted;