⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 application_element.java

📁 java 写的一个新闻发布系统
💻 JAVA
字号:
////                                   ____.//                       __/\ ______|    |__/\.     _______//            __   .____|    |       \   |    +----+       \//    _______|  /--|    |    |    -   \  _    |    :    -   \_________//   \\______: :---|    :    :           |    :    |         \________>//           |__\---\_____________:______:    :____|____:_____\//                                      /_____|////                 . . . i n   j a h i a   w e   t r u s t . . .////////  Application_Element////  NK      29.01.2001////package org.jahia.services.webapps_deployer.orion;import java.io.*;import java.util.*;import org.w3c.dom.*;//import org.xml.sax.*;import org.jahia.exceptions.*;/** * Holds Informations about the <application> element in server.xml file  * * <application-server *    . *    . *    <application name="Bookmark" path="../applications/Bookmark.ear" /> *    <application name="Jahia" path="../applications/Jahia.ear" /> *    . *    . * </application-server> * * @author Khue ng * @version 1.0 */ public class Application_Element {   /** The name attribute **/   private String m_Name;   /** The path attribute **/   private String m_Path;   /** The deployment-directory attribute **/   private String m_DeployDir;   /** The parent attribute **/   private String m_Parent;   /** The auto-start attribute **/   private String m_AutoStart;   /**    * Constructor    *    */	public Application_Element( String name,	                            String path,	                            String deployDir,	                            String parent,	                            String autoStart	                          ){	   	   m_Name            = name;	   m_Path            = path;	   m_DeployDir       = deployDir;	   m_Parent          = parent;	   m_AutoStart       = autoStart;	}          /**    * Return the Name    *    * @return (String) the Application Name    */   public String getName(){            return m_Name;   }    /**    * Set the Name    *    * @param (String) the Name    */   public void setName(String name){            m_Name = name;   }    /**    * Return the Path to the .ear file    *    * @return (String) the Path to the ear file    */   public String getPath(){            return m_Path;   }    /**    * Set the Path to the .ear file    *    * @param (String) the .ear file path    */   public void setPath(String path){            m_Path = path;   }    /**    * Return the Deployment-Dir    *    * @return (String) the Deploy dir    */   public String getDeployDir(){            return m_DeployDir;   }    /**    * Set the Deploy-Dir    *    * @param (String) the Deploy-Dir    */   public void setDeployDir(String deployDir){            m_DeployDir = deployDir;   }    /**    * Return the Parent    *    * @return (String) the Parent    */   public String getParent(){            return m_Parent;   }    /**    * Set the Parent     *    * @param (String) the parent    */   public void setParent(String parent){            m_Parent = parent;   }    /**    * Return the Auto-Start Attribute    *    * @return (String) Auto-Start    */   public String getAutoStart(){            return m_AutoStart;   }    /**    * Set the AutoStart attribut    *    * @param (String) AutoStart    */   public void setAutoStart(String autoStart){            m_AutoStart = autoStart;   }     } // end Application_Element

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -