1 20 package org.jahia.data.webapps; 21 22 import java.util.Vector ; 23 24 31 public class JahiaWebAppsEarPackage { 32 33 35 private Vector m_WebApps = new Vector (); 36 37 38 private String m_ApplicationContextRoot; 39 40 41 46 public JahiaWebAppsEarPackage ( String context ) { 47 m_ApplicationContextRoot = context; 48 } 49 50 51 56 public Vector getWebApps(){ 57 58 return m_WebApps; 59 60 } 61 62 67 public void addWebAppDef(JahiaWebAppDef webAppDef ){ 68 69 m_WebApps.add(webAppDef); 70 71 } 72 73 78 public void addWebAppDefs(Vector vec){ 79 80 m_WebApps.addAll(vec); 81 82 } 83 84 85 90 public String getContextRoot(){ 91 92 return m_ApplicationContextRoot; 93 94 } 95 96 97 102 public void setContextRoot(String context){ 103 104 m_ApplicationContextRoot = context; 105 106 } 107 108 109 } | Popular Tags |