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

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