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.XmlRootElement;
   27   import javax.xml.bind.annotation.XmlType;
   28   import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
   29   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   30   
   31   
   32   /**
   33    * 
   34    */
   35   @XmlAccessorType(XmlAccessType.FIELD)
   36   @XmlType(name = "", propOrder = {
   37       "containerName",
   38       "callLogging",
   39       "invokerProxyBindingName",
   40       "syncOnCommitOnly",
   41       "insertAfterEjbPostCreate",
   42       "callEjbStoreOnClean",
   43       "storeNotFlushed",
   44       "containerInterceptors",
   45       "instancePool",
   46       "instanceCache",
   47       "persistenceManager",
   48       "webClassLoader",
   49       "lockingPolicy",
   50       "containerCacheConf",
   51       "containerPoolConf",
   52       "commitOption",
   53       "optiondRefreshRate",
   54       "securityDomain",
   55       "clusterConfig",
   56       "depends"
   57   })
   58   @XmlRootElement(name = "container-configuration")
   59   public class ContainerConfiguration {
   60   
   61       @XmlAttribute(name = "extends")
   62       @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
   63       protected String _extends;
   64       @XmlElement(name = "container-name", required = true)
   65       protected String containerName;
   66       @XmlElement(name = "call-logging")
   67       protected String callLogging;
   68       @XmlElement(name = "invoker-proxy-binding-name")
   69       protected String invokerProxyBindingName;
   70       @XmlElement(name = "sync-on-commit-only")
   71       protected String syncOnCommitOnly;
   72       @XmlElement(name = "insert-after-ejb-post-create")
   73       protected String insertAfterEjbPostCreate;
   74       @XmlElement(name = "call-ejb-store-on-clean")
   75       protected String callEjbStoreOnClean;
   76       @XmlElement(name = "store-not-flushed")
   77       protected String storeNotFlushed;
   78       @XmlElement(name = "container-interceptors")
   79       protected ContainerInterceptors containerInterceptors;
   80       @XmlElement(name = "instance-pool")
   81       protected String instancePool;
   82       @XmlElement(name = "instance-cache")
   83       protected String instanceCache;
   84       @XmlElement(name = "persistence-manager")
   85       protected String persistenceManager;
   86       @XmlElement(name = "web-class-loader")
   87       protected String webClassLoader;
   88       @XmlElement(name = "locking-policy")
   89       protected String lockingPolicy;
   90       @XmlElement(name = "container-cache-conf")
   91       protected ContainerCacheConf containerCacheConf;
   92       @XmlElement(name = "container-pool-conf")
   93       protected ContainerPoolConf containerPoolConf;
   94       @XmlElement(name = "commit-option")
   95       protected String commitOption;
   96       @XmlElement(name = "optiond-refresh-rate")
   97       protected String optiondRefreshRate;
   98       @XmlElement(name = "security-domain")
   99       protected String securityDomain;
  100       @XmlElement(name = "cluster-config")
  101       protected ClusterConfig clusterConfig;
  102       protected List<Depends> depends;
  103   
  104       /**
  105        * Gets the value of the extends property.
  106        * 
  107        * @return
  108        *     possible object is
  109        *     {@link String }
  110        *     
  111        */
  112       public String getExtends() {
  113           return _extends;
  114       }
  115   
  116       /**
  117        * Sets the value of the extends property.
  118        * 
  119        * @param value
  120        *     allowed object is
  121        *     {@link String }
  122        *     
  123        */
  124       public void setExtends(String value) {
  125           this._extends = value;
  126       }
  127   
  128       /**
  129        * Gets the value of the containerName property.
  130        * 
  131        * @return
  132        *     possible object is
  133        *     {@link String }
  134        *     
  135        */
  136       public String getContainerName() {
  137           return containerName;
  138       }
  139   
  140       /**
  141        * Sets the value of the containerName property.
  142        * 
  143        * @param value
  144        *     allowed object is
  145        *     {@link String }
  146        *     
  147        */
  148       public void setContainerName(String value) {
  149           this.containerName = value;
  150       }
  151   
  152       /**
  153        * Gets the value of the callLogging property.
  154        * 
  155        * @return
  156        *     possible object is
  157        *     {@link String }
  158        *     
  159        */
  160       public String getCallLogging() {
  161           return callLogging;
  162       }
  163   
  164       /**
  165        * Sets the value of the callLogging property.
  166        * 
  167        * @param value
  168        *     allowed object is
  169        *     {@link String }
  170        *     
  171        */
  172       public void setCallLogging(String value) {
  173           this.callLogging = value;
  174       }
  175   
  176       /**
  177        * Gets the value of the invokerProxyBindingName property.
  178        * 
  179        * @return
  180        *     possible object is
  181        *     {@link String }
  182        *     
  183        */
  184       public String getInvokerProxyBindingName() {
  185           return invokerProxyBindingName;
  186       }
  187   
  188       /**
  189        * Sets the value of the invokerProxyBindingName property.
  190        * 
  191        * @param value
  192        *     allowed object is
  193        *     {@link String }
  194        *     
  195        */
  196       public void setInvokerProxyBindingName(String value) {
  197           this.invokerProxyBindingName = value;
  198       }
  199   
  200       /**
  201        * Gets the value of the syncOnCommitOnly property.
  202        * 
  203        * @return
  204        *     possible object is
  205        *     {@link String }
  206        *     
  207        */
  208       public String getSyncOnCommitOnly() {
  209           return syncOnCommitOnly;
  210       }
  211   
  212       /**
  213        * Sets the value of the syncOnCommitOnly property.
  214        * 
  215        * @param value
  216        *     allowed object is
  217        *     {@link String }
  218        *     
  219        */
  220       public void setSyncOnCommitOnly(String value) {
  221           this.syncOnCommitOnly = value;
  222       }
  223   
  224       /**
  225        * Gets the value of the insertAfterEjbPostCreate property.
  226        * 
  227        * @return
  228        *     possible object is
  229        *     {@link String }
  230        *     
  231        */
  232       public String getInsertAfterEjbPostCreate() {
  233           return insertAfterEjbPostCreate;
  234       }
  235   
  236       /**
  237        * Sets the value of the insertAfterEjbPostCreate property.
  238        * 
  239        * @param value
  240        *     allowed object is
  241        *     {@link String }
  242        *     
  243        */
  244       public void setInsertAfterEjbPostCreate(String value) {
  245           this.insertAfterEjbPostCreate = value;
  246       }
  247   
  248       /**
  249        * Gets the value of the callEjbStoreOnClean property.
  250        * 
  251        * @return
  252        *     possible object is
  253        *     {@link String }
  254        *     
  255        */
  256       public String getCallEjbStoreOnClean() {
  257           return callEjbStoreOnClean;
  258       }
  259   
  260       /**
  261        * Sets the value of the callEjbStoreOnClean property.
  262        * 
  263        * @param value
  264        *     allowed object is
  265        *     {@link String }
  266        *     
  267        */
  268       public void setCallEjbStoreOnClean(String value) {
  269           this.callEjbStoreOnClean = value;
  270       }
  271   
  272       /**
  273        * Gets the value of the storeNotFlushed property.
  274        * 
  275        * @return
  276        *     possible object is
  277        *     {@link String }
  278        *     
  279        */
  280       public String getStoreNotFlushed() {
  281           return storeNotFlushed;
  282       }
  283   
  284       /**
  285        * Sets the value of the storeNotFlushed property.
  286        * 
  287        * @param value
  288        *     allowed object is
  289        *     {@link String }
  290        *     
  291        */
  292       public void setStoreNotFlushed(String value) {
  293           this.storeNotFlushed = value;
  294       }
  295   
  296       /**
  297        * Gets the value of the containerInterceptors property.
  298        * 
  299        * @return
  300        *     possible object is
  301        *     {@link ContainerInterceptors }
  302        *     
  303        */
  304       public ContainerInterceptors getContainerInterceptors() {
  305           return containerInterceptors;
  306       }
  307   
  308       /**
  309        * Sets the value of the containerInterceptors property.
  310        * 
  311        * @param value
  312        *     allowed object is
  313        *     {@link ContainerInterceptors }
  314        *     
  315        */
  316       public void setContainerInterceptors(ContainerInterceptors value) {
  317           this.containerInterceptors = value;
  318       }
  319   
  320       /**
  321        * Gets the value of the instancePool property.
  322        * 
  323        * @return
  324        *     possible object is
  325        *     {@link String }
  326        *     
  327        */
  328       public String getInstancePool() {
  329           return instancePool;
  330       }
  331   
  332       /**
  333        * Sets the value of the instancePool property.
  334        * 
  335        * @param value
  336        *     allowed object is
  337        *     {@link String }
  338        *     
  339        */
  340       public void setInstancePool(String value) {
  341           this.instancePool = value;
  342       }
  343   
  344       /**
  345        * Gets the value of the instanceCache property.
  346        * 
  347        * @return
  348        *     possible object is
  349        *     {@link String }
  350        *     
  351        */
  352       public String getInstanceCache() {
  353           return instanceCache;
  354       }
  355   
  356       /**
  357        * Sets the value of the instanceCache property.
  358        * 
  359        * @param value
  360        *     allowed object is
  361        *     {@link String }
  362        *     
  363        */
  364       public void setInstanceCache(String value) {
  365           this.instanceCache = value;
  366       }
  367   
  368       /**
  369        * Gets the value of the persistenceManager property.
  370        * 
  371        * @return
  372        *     possible object is
  373        *     {@link String }
  374        *     
  375        */
  376       public String getPersistenceManager() {
  377           return persistenceManager;
  378       }
  379   
  380       /**
  381        * Sets the value of the persistenceManager property.
  382        * 
  383        * @param value
  384        *     allowed object is
  385        *     {@link String }
  386        *     
  387        */
  388       public void setPersistenceManager(String value) {
  389           this.persistenceManager = value;
  390       }
  391   
  392       /**
  393        * Gets the value of the webClassLoader property.
  394        * 
  395        * @return
  396        *     possible object is
  397        *     {@link String }
  398        *     
  399        */
  400       public String getWebClassLoader() {
  401           return webClassLoader;
  402       }
  403   
  404       /**
  405        * Sets the value of the webClassLoader property.
  406        * 
  407        * @param value
  408        *     allowed object is
  409        *     {@link String }
  410        *     
  411        */
  412       public void setWebClassLoader(String value) {
  413           this.webClassLoader = value;
  414       }
  415   
  416       /**
  417        * Gets the value of the lockingPolicy property.
  418        * 
  419        * @return
  420        *     possible object is
  421        *     {@link String }
  422        *     
  423        */
  424       public String getLockingPolicy() {
  425           return lockingPolicy;
  426       }
  427   
  428       /**
  429        * Sets the value of the lockingPolicy property.
  430        * 
  431        * @param value
  432        *     allowed object is
  433        *     {@link String }
  434        *     
  435        */
  436       public void setLockingPolicy(String value) {
  437           this.lockingPolicy = value;
  438       }
  439   
  440       /**
  441        * Gets the value of the containerCacheConf property.
  442        * 
  443        * @return
  444        *     possible object is
  445        *     {@link ContainerCacheConf }
  446        *     
  447        */
  448       public ContainerCacheConf getContainerCacheConf() {
  449           return containerCacheConf;
  450       }
  451   
  452       /**
  453        * Sets the value of the containerCacheConf property.
  454        * 
  455        * @param value
  456        *     allowed object is
  457        *     {@link ContainerCacheConf }
  458        *     
  459        */
  460       public void setContainerCacheConf(ContainerCacheConf value) {
  461           this.containerCacheConf = value;
  462       }
  463   
  464       /**
  465        * Gets the value of the containerPoolConf property.
  466        * 
  467        * @return
  468        *     possible object is
  469        *     {@link ContainerPoolConf }
  470        *     
  471        */
  472       public ContainerPoolConf getContainerPoolConf() {
  473           return containerPoolConf;
  474       }
  475   
  476       /**
  477        * Sets the value of the containerPoolConf property.
  478        * 
  479        * @param value
  480        *     allowed object is
  481        *     {@link ContainerPoolConf }
  482        *     
  483        */
  484       public void setContainerPoolConf(ContainerPoolConf value) {
  485           this.containerPoolConf = value;
  486       }
  487   
  488       /**
  489        * Gets the value of the commitOption property.
  490        * 
  491        * @return
  492        *     possible object is
  493        *     {@link String }
  494        *     
  495        */
  496       public String getCommitOption() {
  497           return commitOption;
  498       }
  499   
  500       /**
  501        * Sets the value of the commitOption property.
  502        * 
  503        * @param value
  504        *     allowed object is
  505        *     {@link String }
  506        *     
  507        */
  508       public void setCommitOption(String value) {
  509           this.commitOption = value;
  510       }
  511   
  512       /**
  513        * Gets the value of the optiondRefreshRate property.
  514        * 
  515        * @return
  516        *     possible object is
  517        *     {@link String }
  518        *     
  519        */
  520       public String getOptiondRefreshRate() {
  521           return optiondRefreshRate;
  522       }
  523   
  524       /**
  525        * Sets the value of the optiondRefreshRate property.
  526        * 
  527        * @param value
  528        *     allowed object is
  529        *     {@link String }
  530        *     
  531        */
  532       public void setOptiondRefreshRate(String value) {
  533           this.optiondRefreshRate = value;
  534       }
  535   
  536       /**
  537        * Gets the value of the securityDomain property.
  538        * 
  539        * @return
  540        *     possible object is
  541        *     {@link String }
  542        *     
  543        */
  544       public String getSecurityDomain() {
  545           return securityDomain;
  546       }
  547   
  548       /**
  549        * Sets the value of the securityDomain property.
  550        * 
  551        * @param value
  552        *     allowed object is
  553        *     {@link String }
  554        *     
  555        */
  556       public void setSecurityDomain(String value) {
  557           this.securityDomain = value;
  558       }
  559   
  560       /**
  561        * Gets the value of the clusterConfig property.
  562        * 
  563        * @return
  564        *     possible object is
  565        *     {@link ClusterConfig }
  566        *     
  567        */
  568       public ClusterConfig getClusterConfig() {
  569           return clusterConfig;
  570       }
  571   
  572       /**
  573        * Sets the value of the clusterConfig property.
  574        * 
  575        * @param value
  576        *     allowed object is
  577        *     {@link ClusterConfig }
  578        *     
  579        */
  580       public void setClusterConfig(ClusterConfig value) {
  581           this.clusterConfig = value;
  582       }
  583   
  584       /**
  585        * Gets the value of the depends property.
  586        * 
  587        * <p>
  588        * This accessor method returns a reference to the live list,
  589        * not a snapshot. Therefore any modification you make to the
  590        * returned list will be present inside the JAXB object.
  591        * This is why there is not a <CODE>set</CODE> method for the depends property.
  592        * 
  593        * <p>
  594        * For example, to add a new item, do as follows:
  595        * <pre>
  596        *    getDepends().add(newItem);
  597        * </pre>
  598        * 
  599        * 
  600        * <p>
  601        * Objects of the following type(s) are allowed in the list
  602        * {@link Depends }
  603        * 
  604        * 
  605        */
  606       public List<Depends> getDepends() {
  607           if (depends == null) {
  608               depends = new ArrayList<Depends>();
  609           }
  610           return this.depends;
  611       }
  612   
  613   }

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