FileDocCategorySizeDatePackage
MessagePropertiesImpl.javaAPI DocJBoss 4.2.12652Fri Jul 13 20:54:02 BST 2007org.jboss.annotation.ejb

MessagePropertiesImpl

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

Fields Summary
private static final long
serialVersionUID
private org.jboss.annotation.ejb.DeliveryMode
deliveryMode
private int
ttl
private int
priority
private Class
interfac
Constructors Summary
public MessagePropertiesImpl(org.jboss.annotation.ejb.DeliveryMode deliveryMode, int ttl, int priority)


         
   
      this.deliveryMode = deliveryMode;
      this.ttl = ttl;
      this.priority = priority;
   
public MessagePropertiesImpl(org.jboss.annotation.ejb.MessageProperties props)

      deliveryMode = props.delivery();
      ttl = props.timeToLive();
      priority = props.priority();
   
public MessagePropertiesImpl()


   
Methods Summary
public java.lang.ClassannotationType()

      return MessageProperties.class;
   
public org.jboss.annotation.ejb.DeliveryModedelivery()

      return deliveryMode;
   
public java.lang.ClassgetInterface()

      return interfac;
   
public intpriority()

      return priority;
   
public voidsetDelivery(org.jboss.annotation.ejb.DeliveryMode mode)

      this.deliveryMode = mode;
   
public voidsetInterface(java.lang.Class interfac)

      this.interfac = interfac;
   
public voidsetPriority(int priority)

      this.priority = priority;
   
public inttimeToLive()

      return ttl;