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       "partitionName",
   33       "homeLoadBalancePolicy",
   34       "beanLoadBalancePolicy",
   35       "sessionStateManagerJndiName"
   36   })
   37   @XmlRootElement(name = "cluster-config")
   38   public class ClusterConfig {
   39   
   40       @XmlElement(name = "partition-name")
   41       protected String partitionName;
   42       @XmlElement(name = "home-load-balance-policy")
   43       protected String homeLoadBalancePolicy;
   44       @XmlElement(name = "bean-load-balance-policy")
   45       protected String beanLoadBalancePolicy;
   46       @XmlElement(name = "session-state-manager-jndi-name")
   47       protected String sessionStateManagerJndiName;
   48   
   49       /**
   50        * Gets the value of the partitionName property.
   51        * 
   52        * @return
   53        *     possible object is
   54        *     {@link String }
   55        *     
   56        */
   57       public String getPartitionName() {
   58           return partitionName;
   59       }
   60   
   61       /**
   62        * Sets the value of the partitionName property.
   63        * 
   64        * @param value
   65        *     allowed object is
   66        *     {@link String }
   67        *     
   68        */
   69       public void setPartitionName(String value) {
   70           this.partitionName = value;
   71       }
   72   
   73       /**
   74        * Gets the value of the homeLoadBalancePolicy property.
   75        * 
   76        * @return
   77        *     possible object is
   78        *     {@link String }
   79        *     
   80        */
   81       public String getHomeLoadBalancePolicy() {
   82           return homeLoadBalancePolicy;
   83       }
   84   
   85       /**
   86        * Sets the value of the homeLoadBalancePolicy property.
   87        * 
   88        * @param value
   89        *     allowed object is
   90        *     {@link String }
   91        *     
   92        */
   93       public void setHomeLoadBalancePolicy(String value) {
   94           this.homeLoadBalancePolicy = value;
   95       }
   96   
   97       /**
   98        * Gets the value of the beanLoadBalancePolicy property.
   99        * 
  100        * @return
  101        *     possible object is
  102        *     {@link String }
  103        *     
  104        */
  105       public String getBeanLoadBalancePolicy() {
  106           return beanLoadBalancePolicy;
  107       }
  108   
  109       /**
  110        * Sets the value of the beanLoadBalancePolicy property.
  111        * 
  112        * @param value
  113        *     allowed object is
  114        *     {@link String }
  115        *     
  116        */
  117       public void setBeanLoadBalancePolicy(String value) {
  118           this.beanLoadBalancePolicy = value;
  119       }
  120   
  121       /**
  122        * Gets the value of the sessionStateManagerJndiName property.
  123        * 
  124        * @return
  125        *     possible object is
  126        *     {@link String }
  127        *     
  128        */
  129       public String getSessionStateManagerJndiName() {
  130           return sessionStateManagerJndiName;
  131       }
  132   
  133       /**
  134        * Sets the value of the sessionStateManagerJndiName property.
  135        * 
  136        * @param value
  137        *     allowed object is
  138        *     {@link String }
  139        *     
  140        */
  141       public void setSessionStateManagerJndiName(String value) {
  142           this.sessionStateManagerJndiName = value;
  143       }
  144   
  145   }

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