Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   
   18   package org.apache.openejb.jee.jba;
   19   
   20   import javax.xml.bind.annotation.XmlAccessType;
   21   import javax.xml.bind.annotation.XmlAccessorType;
   22   import javax.xml.bind.annotation.XmlElement;
   23   import javax.xml.bind.annotation.XmlRootElement;
   24   import javax.xml.bind.annotation.XmlType;
   25   
   26   
   27   /**
   28    * 
   29    */
   30   @XmlAccessorType(XmlAccessType.FIELD)
   31   @XmlType(name = "", propOrder = {
   32       "destinationQueue",
   33       "maxTimesRedelivered",
   34       "timeToLive",
   35       "dlqUser",
   36       "dlqPassword"
   37   })
   38   @XmlRootElement(name = "DLQConfig")
   39   public class DLQConfig {
   40   
   41       @XmlElement(name = "DestinationQueue", required = true)
   42       protected String destinationQueue;
   43       @XmlElement(name = "MaxTimesRedelivered", required = true)
   44       protected String maxTimesRedelivered;
   45       @XmlElement(name = "TimeToLive", required = true)
   46       protected String timeToLive;
   47       @XmlElement(name = "DLQUser")
   48       protected String dlqUser;
   49       @XmlElement(name = "DLQPassword")
   50       protected String dlqPassword;
   51   
   52       /**
   53        * Gets the value of the destinationQueue property.
   54        * 
   55        * @return
   56        *     possible object is
   57        *     {@link String }
   58        *     
   59        */
   60       public String getDestinationQueue() {
   61           return destinationQueue;
   62       }
   63   
   64       /**
   65        * Sets the value of the destinationQueue property.
   66        * 
   67        * @param value
   68        *     allowed object is
   69        *     {@link String }
   70        *     
   71        */
   72       public void setDestinationQueue(String value) {
   73           this.destinationQueue = value;
   74       }
   75   
   76       /**
   77        * Gets the value of the maxTimesRedelivered property.
   78        * 
   79        * @return
   80        *     possible object is
   81        *     {@link String }
   82        *     
   83        */
   84       public String getMaxTimesRedelivered() {
   85           return maxTimesRedelivered;
   86       }
   87   
   88       /**
   89        * Sets the value of the maxTimesRedelivered property.
   90        * 
   91        * @param value
   92        *     allowed object is
   93        *     {@link String }
   94        *     
   95        */
   96       public void setMaxTimesRedelivered(String value) {
   97           this.maxTimesRedelivered = value;
   98       }
   99   
  100       /**
  101        * Gets the value of the timeToLive property.
  102        * 
  103        * @return
  104        *     possible object is
  105        *     {@link String }
  106        *     
  107        */
  108       public String getTimeToLive() {
  109           return timeToLive;
  110       }
  111   
  112       /**
  113        * Sets the value of the timeToLive property.
  114        * 
  115        * @param value
  116        *     allowed object is
  117        *     {@link String }
  118        *     
  119        */
  120       public void setTimeToLive(String value) {
  121           this.timeToLive = value;
  122       }
  123   
  124       /**
  125        * Gets the value of the dlqUser property.
  126        * 
  127        * @return
  128        *     possible object is
  129        *     {@link String }
  130        *     
  131        */
  132       public String getDLQUser() {
  133           return dlqUser;
  134       }
  135   
  136       /**
  137        * Sets the value of the dlqUser property.
  138        * 
  139        * @param value
  140        *     allowed object is
  141        *     {@link String }
  142        *     
  143        */
  144       public void setDLQUser(String value) {
  145           this.dlqUser = value;
  146       }
  147   
  148       /**
  149        * Gets the value of the dlqPassword property.
  150        * 
  151        * @return
  152        *     possible object is
  153        *     {@link String }
  154        *     
  155        */
  156       public String getDLQPassword() {
  157           return dlqPassword;
  158       }
  159   
  160       /**
  161        * Sets the value of the dlqPassword property.
  162        * 
  163        * @param value
  164        *     allowed object is
  165        *     {@link String }
  166        *     
  167        */
  168       public void setDLQPassword(String value) {
  169           this.dlqPassword = value;
  170       }
  171   
  172   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]