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 java.util.ArrayList;
   21   import java.util.List;
   22   import javax.xml.bind.annotation.XmlAccessType;
   23   import javax.xml.bind.annotation.XmlAccessorType;
   24   import javax.xml.bind.annotation.XmlAttribute;
   25   import javax.xml.bind.annotation.XmlElement;
   26   import javax.xml.bind.annotation.XmlID;
   27   import javax.xml.bind.annotation.XmlRootElement;
   28   import javax.xml.bind.annotation.XmlType;
   29   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   30   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   31   
   32   
   33   /**
   34    * 
   35    */
   36   @XmlAccessorType(XmlAccessType.FIELD)
   37   @XmlType(name = "", propOrder = {
   38       "ejbName",
   39       "activationConfig",
   40       "destinationJndiName",
   41       "localJndiName",
   42       "mdbUser",
   43       "mdbPasswd",
   44       "mdbClientId",
   45       "mdbSubscriptionId",
   46       "resourceAdapterName",
   47       "exceptionOnRollback",
   48       "timerPersistence",
   49       "configurationName",
   50       "invokerBindings",
   51       "securityProxy",
   52       "ejbRef",
   53       "ejbLocalRef",
   54       "serviceRef",
   55       "securityIdentity",
   56       "resourceRef",
   57       "resourceEnvRef",
   58       "messageDestinationRef",
   59       "depends",
   60       "iorSecurityConfig",
   61       "ejbTimeoutIdentity"
   62   })
   63   @XmlRootElement(name = "message-driven")
   64   public class MessageDriven {
   65   
   66       @XmlAttribute
   67       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   68       @XmlID
   69       protected String id;
   70       @XmlElement(name = "ejb-name", required = true)
   71       protected String ejbName;
   72       @XmlElement(name = "activation-config")
   73       protected ActivationConfig activationConfig;
   74       @XmlElement(name = "destination-jndi-name")
   75       protected String destinationJndiName;
   76       @XmlElement(name = "local-jndi-name")
   77       protected String localJndiName;
   78       @XmlElement(name = "mdb-user")
   79       protected String mdbUser;
   80       @XmlElement(name = "mdb-passwd")
   81       protected String mdbPasswd;
   82       @XmlElement(name = "mdb-client-id")
   83       protected String mdbClientId;
   84       @XmlElement(name = "mdb-subscription-id")
   85       protected String mdbSubscriptionId;
   86       @XmlElement(name = "resource-adapter-name")
   87       protected String resourceAdapterName;
   88       @XmlElement(name = "exception-on-rollback")
   89       protected String exceptionOnRollback;
   90       @XmlElement(name = "timer-persistence")
   91       protected String timerPersistence;
   92       @XmlElement(name = "configuration-name")
   93       protected String configurationName;
   94       @XmlElement(name = "invoker-bindings")
   95       protected InvokerBindings invokerBindings;
   96       @XmlElement(name = "security-proxy")
   97       protected String securityProxy;
   98       @XmlElement(name = "ejb-ref")
   99       protected List<EjbRef> ejbRef;
  100       @XmlElement(name = "ejb-local-ref")
  101       protected List<EjbLocalRef> ejbLocalRef;
  102       @XmlElement(name = "service-ref")
  103       protected List<ServiceRef> serviceRef;
  104       @XmlElement(name = "security-identity")
  105       protected SecurityIdentity securityIdentity;
  106       @XmlElement(name = "resource-ref")
  107       protected List<ResourceRef> resourceRef;
  108       @XmlElement(name = "resource-env-ref")
  109       protected List<ResourceEnvRef> resourceEnvRef;
  110       @XmlElement(name = "message-destination-ref")
  111       protected List<MessageDestinationRef> messageDestinationRef;
  112       protected List<Depends> depends;
  113       @XmlElement(name = "ior-security-config")
  114       protected IorSecurityConfig iorSecurityConfig;
  115       @XmlElement(name = "ejb-timeout-identity")
  116       protected EjbTimeoutIdentity ejbTimeoutIdentity;
  117   
  118       /**
  119        * Gets the value of the id property.
  120        * 
  121        * @return
  122        *     possible object is
  123        *     {@link String }
  124        *     
  125        */
  126       public String getId() {
  127           return id;
  128       }
  129   
  130       /**
  131        * Sets the value of the id property.
  132        * 
  133        * @param value
  134        *     allowed object is
  135        *     {@link String }
  136        *     
  137        */
  138       public void setId(String value) {
  139           this.id = value;
  140       }
  141   
  142       /**
  143        * Gets the value of the ejbName property.
  144        * 
  145        * @return
  146        *     possible object is
  147        *     {@link String }
  148        *     
  149        */
  150       public String getEjbName() {
  151           return ejbName;
  152       }
  153   
  154       /**
  155        * Sets the value of the ejbName property.
  156        * 
  157        * @param value
  158        *     allowed object is
  159        *     {@link String }
  160        *     
  161        */
  162       public void setEjbName(String value) {
  163           this.ejbName = value;
  164       }
  165   
  166       /**
  167        * Gets the value of the activationConfig property.
  168        * 
  169        * @return
  170        *     possible object is
  171        *     {@link ActivationConfig }
  172        *     
  173        */
  174       public ActivationConfig getActivationConfig() {
  175           return activationConfig;
  176       }
  177   
  178       /**
  179        * Sets the value of the activationConfig property.
  180        * 
  181        * @param value
  182        *     allowed object is
  183        *     {@link ActivationConfig }
  184        *     
  185        */
  186       public void setActivationConfig(ActivationConfig value) {
  187           this.activationConfig = value;
  188       }
  189   
  190       /**
  191        * Gets the value of the destinationJndiName property.
  192        * 
  193        * @return
  194        *     possible object is
  195        *     {@link String }
  196        *     
  197        */
  198       public String getDestinationJndiName() {
  199           return destinationJndiName;
  200       }
  201   
  202       /**
  203        * Sets the value of the destinationJndiName property.
  204        * 
  205        * @param value
  206        *     allowed object is
  207        *     {@link String }
  208        *     
  209        */
  210       public void setDestinationJndiName(String value) {
  211           this.destinationJndiName = value;
  212       }
  213   
  214       /**
  215        * Gets the value of the localJndiName property.
  216        * 
  217        * @return
  218        *     possible object is
  219        *     {@link String }
  220        *     
  221        */
  222       public String getLocalJndiName() {
  223           return localJndiName;
  224       }
  225   
  226       /**
  227        * Sets the value of the localJndiName property.
  228        * 
  229        * @param value
  230        *     allowed object is
  231        *     {@link String }
  232        *     
  233        */
  234       public void setLocalJndiName(String value) {
  235           this.localJndiName = value;
  236       }
  237   
  238       /**
  239        * Gets the value of the mdbUser property.
  240        * 
  241        * @return
  242        *     possible object is
  243        *     {@link String }
  244        *     
  245        */
  246       public String getMdbUser() {
  247           return mdbUser;
  248       }
  249   
  250       /**
  251        * Sets the value of the mdbUser property.
  252        * 
  253        * @param value
  254        *     allowed object is
  255        *     {@link String }
  256        *     
  257        */
  258       public void setMdbUser(String value) {
  259           this.mdbUser = value;
  260       }
  261   
  262       /**
  263        * Gets the value of the mdbPasswd property.
  264        * 
  265        * @return
  266        *     possible object is
  267        *     {@link String }
  268        *     
  269        */
  270       public String getMdbPasswd() {
  271           return mdbPasswd;
  272       }
  273   
  274       /**
  275        * Sets the value of the mdbPasswd property.
  276        * 
  277        * @param value
  278        *     allowed object is
  279        *     {@link String }
  280        *     
  281        */
  282       public void setMdbPasswd(String value) {
  283           this.mdbPasswd = value;
  284       }
  285   
  286       /**
  287        * Gets the value of the mdbClientId property.
  288        * 
  289        * @return
  290        *     possible object is
  291        *     {@link String }
  292        *     
  293        */
  294       public String getMdbClientId() {
  295           return mdbClientId;
  296       }
  297   
  298       /**
  299        * Sets the value of the mdbClientId property.
  300        * 
  301        * @param value
  302        *     allowed object is
  303        *     {@link String }
  304        *     
  305        */
  306       public void setMdbClientId(String value) {
  307           this.mdbClientId = value;
  308       }
  309   
  310       /**
  311        * Gets the value of the mdbSubscriptionId property.
  312        * 
  313        * @return
  314        *     possible object is
  315        *     {@link String }
  316        *     
  317        */
  318       public String getMdbSubscriptionId() {
  319           return mdbSubscriptionId;
  320       }
  321   
  322       /**
  323        * Sets the value of the mdbSubscriptionId property.
  324        * 
  325        * @param value
  326        *     allowed object is
  327        *     {@link String }
  328        *     
  329        */
  330       public void setMdbSubscriptionId(String value) {
  331           this.mdbSubscriptionId = value;
  332       }
  333   
  334       /**
  335        * Gets the value of the resourceAdapterName property.
  336        * 
  337        * @return
  338        *     possible object is
  339        *     {@link String }
  340        *     
  341        */
  342       public String getResourceAdapterName() {
  343           return resourceAdapterName;
  344       }
  345   
  346       /**
  347        * Sets the value of the resourceAdapterName property.
  348        * 
  349        * @param value
  350        *     allowed object is
  351        *     {@link String }
  352        *     
  353        */
  354       public void setResourceAdapterName(String value) {
  355           this.resourceAdapterName = value;
  356       }
  357   
  358       /**
  359        * Gets the value of the exceptionOnRollback property.
  360        * 
  361        * @return
  362        *     possible object is
  363        *     {@link String }
  364        *     
  365        */
  366       public String getExceptionOnRollback() {
  367           return exceptionOnRollback;
  368       }
  369   
  370       /**
  371        * Sets the value of the exceptionOnRollback property.
  372        * 
  373        * @param value
  374        *     allowed object is
  375        *     {@link String }
  376        *     
  377        */
  378       public void setExceptionOnRollback(String value) {
  379           this.exceptionOnRollback = value;
  380       }
  381   
  382       /**
  383        * Gets the value of the timerPersistence property.
  384        * 
  385        * @return
  386        *     possible object is
  387        *     {@link String }
  388        *     
  389        */
  390       public String getTimerPersistence() {
  391           return timerPersistence;
  392       }
  393   
  394       /**
  395        * Sets the value of the timerPersistence property.
  396        * 
  397        * @param value
  398        *     allowed object is
  399        *     {@link String }
  400        *     
  401        */
  402       public void setTimerPersistence(String value) {
  403           this.timerPersistence = value;
  404       }
  405   
  406       /**
  407        * Gets the value of the configurationName property.
  408        * 
  409        * @return
  410        *     possible object is
  411        *     {@link String }
  412        *     
  413        */
  414       public String getConfigurationName() {
  415           return configurationName;
  416       }
  417   
  418       /**
  419        * Sets the value of the configurationName property.
  420        * 
  421        * @param value
  422        *     allowed object is
  423        *     {@link String }
  424        *     
  425        */
  426       public void setConfigurationName(String value) {
  427           this.configurationName = value;
  428       }
  429   
  430       /**
  431        * Gets the value of the invokerBindings property.
  432        * 
  433        * @return
  434        *     possible object is
  435        *     {@link InvokerBindings }
  436        *     
  437        */
  438       public InvokerBindings getInvokerBindings() {
  439           return invokerBindings;
  440       }
  441   
  442       /**
  443        * Sets the value of the invokerBindings property.
  444        * 
  445        * @param value
  446        *     allowed object is
  447        *     {@link InvokerBindings }
  448        *     
  449        */
  450       public void setInvokerBindings(InvokerBindings value) {
  451           this.invokerBindings = value;
  452       }
  453   
  454       /**
  455        * Gets the value of the securityProxy property.
  456        * 
  457        * @return
  458        *     possible object is
  459        *     {@link String }
  460        *     
  461        */
  462       public String getSecurityProxy() {
  463           return securityProxy;
  464       }
  465   
  466       /**
  467        * Sets the value of the securityProxy property.
  468        * 
  469        * @param value
  470        *     allowed object is
  471        *     {@link String }
  472        *     
  473        */
  474       public void setSecurityProxy(String value) {
  475           this.securityProxy = value;
  476       }
  477   
  478       /**
  479        * Gets the value of the ejbRef property.
  480        * 
  481        * <p>
  482        * This accessor method returns a reference to the live list,
  483        * not a snapshot. Therefore any modification you make to the
  484        * returned list will be present inside the JAXB object.
  485        * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
  486        * 
  487        * <p>
  488        * For example, to add a new item, do as follows:
  489        * <pre>
  490        *    getEjbRef().add(newItem);
  491        * </pre>
  492        * 
  493        * 
  494        * <p>
  495        * Objects of the following type(s) are allowed in the list
  496        * {@link EjbRef }
  497        * 
  498        * 
  499        */
  500       public List<EjbRef> getEjbRef() {
  501           if (ejbRef == null) {
  502               ejbRef = new ArrayList<EjbRef>();
  503           }
  504           return this.ejbRef;
  505       }
  506   
  507       /**
  508        * Gets the value of the ejbLocalRef property.
  509        * 
  510        * <p>
  511        * This accessor method returns a reference to the live list,
  512        * not a snapshot. Therefore any modification you make to the
  513        * returned list will be present inside the JAXB object.
  514        * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
  515        * 
  516        * <p>
  517        * For example, to add a new item, do as follows:
  518        * <pre>
  519        *    getEjbLocalRef().add(newItem);
  520        * </pre>
  521        * 
  522        * 
  523        * <p>
  524        * Objects of the following type(s) are allowed in the list
  525        * {@link EjbLocalRef }
  526        * 
  527        * 
  528        */
  529       public List<EjbLocalRef> getEjbLocalRef() {
  530           if (ejbLocalRef == null) {
  531               ejbLocalRef = new ArrayList<EjbLocalRef>();
  532           }
  533           return this.ejbLocalRef;
  534       }
  535   
  536       /**
  537        * Gets the value of the serviceRef property.
  538        * 
  539        * <p>
  540        * This accessor method returns a reference to the live list,
  541        * not a snapshot. Therefore any modification you make to the
  542        * returned list will be present inside the JAXB object.
  543        * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
  544        * 
  545        * <p>
  546        * For example, to add a new item, do as follows:
  547        * <pre>
  548        *    getServiceRef().add(newItem);
  549        * </pre>
  550        * 
  551        * 
  552        * <p>
  553        * Objects of the following type(s) are allowed in the list
  554        * {@link ServiceRef }
  555        * 
  556        * 
  557        */
  558       public List<ServiceRef> getServiceRef() {
  559           if (serviceRef == null) {
  560               serviceRef = new ArrayList<ServiceRef>();
  561           }
  562           return this.serviceRef;
  563       }
  564   
  565       /**
  566        * Gets the value of the securityIdentity property.
  567        * 
  568        * @return
  569        *     possible object is
  570        *     {@link SecurityIdentity }
  571        *     
  572        */
  573       public SecurityIdentity getSecurityIdentity() {
  574           return securityIdentity;
  575       }
  576   
  577       /**
  578        * Sets the value of the securityIdentity property.
  579        * 
  580        * @param value
  581        *     allowed object is
  582        *     {@link SecurityIdentity }
  583        *     
  584        */
  585       public void setSecurityIdentity(SecurityIdentity value) {
  586           this.securityIdentity = value;
  587       }
  588   
  589       /**
  590        * Gets the value of the resourceRef property.
  591        * 
  592        * <p>
  593        * This accessor method returns a reference to the live list,
  594        * not a snapshot. Therefore any modification you make to the
  595        * returned list will be present inside the JAXB object.
  596        * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
  597        * 
  598        * <p>
  599        * For example, to add a new item, do as follows:
  600        * <pre>
  601        *    getResourceRef().add(newItem);
  602        * </pre>
  603        * 
  604        * 
  605        * <p>
  606        * Objects of the following type(s) are allowed in the list
  607        * {@link ResourceRef }
  608        * 
  609        * 
  610        */
  611       public List<ResourceRef> getResourceRef() {
  612           if (resourceRef == null) {
  613               resourceRef = new ArrayList<ResourceRef>();
  614           }
  615           return this.resourceRef;
  616       }
  617   
  618       /**
  619        * Gets the value of the resourceEnvRef property.
  620        * 
  621        * <p>
  622        * This accessor method returns a reference to the live list,
  623        * not a snapshot. Therefore any modification you make to the
  624        * returned list will be present inside the JAXB object.
  625        * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
  626        * 
  627        * <p>
  628        * For example, to add a new item, do as follows:
  629        * <pre>
  630        *    getResourceEnvRef().add(newItem);
  631        * </pre>
  632        * 
  633        * 
  634        * <p>
  635        * Objects of the following type(s) are allowed in the list
  636        * {@link ResourceEnvRef }
  637        * 
  638        * 
  639        */
  640       public List<ResourceEnvRef> getResourceEnvRef() {
  641           if (resourceEnvRef == null) {
  642               resourceEnvRef = new ArrayList<ResourceEnvRef>();
  643           }
  644           return this.resourceEnvRef;
  645       }
  646   
  647       /**
  648        * Gets the value of the messageDestinationRef property.
  649        * 
  650        * <p>
  651        * This accessor method returns a reference to the live list,
  652        * not a snapshot. Therefore any modification you make to the
  653        * returned list will be present inside the JAXB object.
  654        * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
  655        * 
  656        * <p>
  657        * For example, to add a new item, do as follows:
  658        * <pre>
  659        *    getMessageDestinationRef().add(newItem);
  660        * </pre>
  661        * 
  662        * 
  663        * <p>
  664        * Objects of the following type(s) are allowed in the list
  665        * {@link MessageDestinationRef }
  666        * 
  667        * 
  668        */
  669       public List<MessageDestinationRef> getMessageDestinationRef() {
  670           if (messageDestinationRef == null) {
  671               messageDestinationRef = new ArrayList<MessageDestinationRef>();
  672           }
  673           return this.messageDestinationRef;
  674       }
  675   
  676       /**
  677        * Gets the value of the depends property.
  678        * 
  679        * <p>
  680        * This accessor method returns a reference to the live list,
  681        * not a snapshot. Therefore any modification you make to the
  682        * returned list will be present inside the JAXB object.
  683        * This is why there is not a <CODE>set</CODE> method for the depends property.
  684        * 
  685        * <p>
  686        * For example, to add a new item, do as follows:
  687        * <pre>
  688        *    getDepends().add(newItem);
  689        * </pre>
  690        * 
  691        * 
  692        * <p>
  693        * Objects of the following type(s) are allowed in the list
  694        * {@link Depends }
  695        * 
  696        * 
  697        */
  698       public List<Depends> getDepends() {
  699           if (depends == null) {
  700               depends = new ArrayList<Depends>();
  701           }
  702           return this.depends;
  703       }
  704   
  705       /**
  706        * Gets the value of the iorSecurityConfig property.
  707        * 
  708        * @return
  709        *     possible object is
  710        *     {@link IorSecurityConfig }
  711        *     
  712        */
  713       public IorSecurityConfig getIorSecurityConfig() {
  714           return iorSecurityConfig;
  715       }
  716   
  717       /**
  718        * Sets the value of the iorSecurityConfig property.
  719        * 
  720        * @param value
  721        *     allowed object is
  722        *     {@link IorSecurityConfig }
  723        *     
  724        */
  725       public void setIorSecurityConfig(IorSecurityConfig value) {
  726           this.iorSecurityConfig = value;
  727       }
  728   
  729       /**
  730        * Gets the value of the ejbTimeoutIdentity property.
  731        * 
  732        * @return
  733        *     possible object is
  734        *     {@link EjbTimeoutIdentity }
  735        *     
  736        */
  737       public EjbTimeoutIdentity getEjbTimeoutIdentity() {
  738           return ejbTimeoutIdentity;
  739       }
  740   
  741       /**
  742        * Sets the value of the ejbTimeoutIdentity property.
  743        * 
  744        * @param value
  745        *     allowed object is
  746        *     {@link EjbTimeoutIdentity }
  747        *     
  748        */
  749       public void setEjbTimeoutIdentity(EjbTimeoutIdentity value) {
  750           this.ejbTimeoutIdentity = value;
  751       }
  752   
  753   }

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