1 23 24 29 30 package com.sun.enterprise.tools.upgrade.cluster; 31 32 37 import java.util.*; 38 import org.w3c.dom.Element ; 39 40 public class LBWebModule { 41 42 private String contextRoot; 43 private boolean enabled; 44 private int disabledTimeOut; 45 46 public LBWebModule(Element ele) { 47 this.contextRoot = ele.getAttribute("context-root"); 48 this.enabled = Boolean.getBoolean(ele.getAttribute("enabled")); 49 this.disabledTimeOut = Integer.getInteger(ele.getAttribute("disable-timeout-in-minutes")).intValue(); 50 } 51 public java.lang.String getContextRoot() { 52 return contextRoot; 53 } 54 public int getDisabledTimeOut() { 55 return disabledTimeOut; 56 } 57 public boolean isEnalbed() { 58 return enabled; 59 } 60 } 61 | Popular Tags |