Class JEEHost

  • All Implemented Interfaces:
    Referenceable

    public final class JEEHost
    extends InstallableObject
    Defines the information needed to access application servers like Geronimo, JBoss, Resin, Sun Application Server, TomCat, WebLogic, and WebSphere. It also contains the actions to be executed on the specified server.
    • Constructor Detail

      • JEEHost

        public JEEHost()
    • Method Detail

      • getServerPath

        public java.lang.String getServerPath()
        The path to the server.

        This property is no more applicable for Apache Tomcat. However, it is mandated to set this property to an empty string.

        If the bundleLocalLibraries property is true, this value is the path to the server on the build system, otherwise this value is the path to a server installed on the target system.
      • setServerPath

        public void setServerPath​(java.lang.String ServerPath)
        The path to the server.

        This property is no more applicable for Apache Tomcat. However, it is mandated to set this property to an empty string.

        If the bundleLocalLibraries property is true, this value is the path to the server on the build system, otherwise this value is the path to a server installed on the target system.
      • getAuthenticate

        public boolean getAuthenticate()
        Whether or not authentication is required.
      • setAuthenticate

        public void setAuthenticate​(boolean Authenticate)
        Whether or not authentication is required.
      • getPassword

        public java.lang.String getPassword()
        The password to authenticate to the server.
      • setPassword

        public void setPassword​(java.lang.String Password)
        The password to authenticate to the server.
      • getUsername

        public java.lang.String getUsername()
        The username to authenticate to the server.
      • setUsername

        public void setUsername​(java.lang.String Username)
        The username to authenticate to the server.
      • getHostname

        public java.lang.String getHostname()
        The URL to access the server. For example: localhost, 127.0.0.1
      • setHostname

        public void setHostname​(java.lang.String Hostname)
        The URL to access the server. For example: localhost, 127.0.0.1
      • getPort

        public java.lang.String getPort()
        The port for the application server to interact. For example: 1099, 8080, 7001, or 4848.
      • setPort

        public void setPort​(java.lang.String Port)
        The port for the application server to interact. For example: 1099, 8080, 7001, or 4848.
      • getBundleLocalLibraries

        public boolean getBundleLocalLibraries()
        Whether or not to bundle the connection libraries from the server installed locally.
      • setBundleLocalLibraries

        public void setBundleLocalLibraries​(boolean BundleLocalLibraries)
        Whether or not to bundle the connection libraries from the server installed locally.
      • getChildren

        public java.util.Vector<JEEHostable> getChildren()
        The actions to be executed on the server, like the DeployAppArchive action.
      • getServerName

        public java.lang.String getServerName()
        The name of the application server which will uniquely identify it in a project.
      • setServerName

        public void setServerName​(java.lang.String ServerName)
        The name of the application server which will uniquely identify it in a project.
      • getLocalTomcatDeploy

        public boolean getLocalTomcatDeploy()
        Deploy WAR to a local Apache Tomcat
      • setLocalTomcatDeploy

        public void setLocalTomcatDeploy​(boolean LocalTomcatDeploy)
        Deploy WAR to a local Apache Tomcat
      • getRemoteTomcatDeploy

        public boolean getRemoteTomcatDeploy()
        Deploy WAR to a remote Apache Tomcat
      • setRemoteTomcatDeploy

        public void setRemoteTomcatDeploy​(boolean RemoteTomcatDeploy)
        Deploy WAR to a remote Apache Tomcat
      • getTomcatDoNotDeploy

        public boolean getTomcatDoNotDeploy()
        Do not deploy now. Save the WAR locally; I will deploy it later
      • setTomcatDoNotDeploy

        public void setTomcatDoNotDeploy​(boolean TomcatDoNotDeploy)
        Do not deploy now. Save the WAR locally; I will deploy it later
      • getConnectionName

        public java.lang.String getConnectionName()
        The name of the application server which will uniquely identify it in a project.
      • setConnectionName

        public void setConnectionName​(java.lang.String ConnectionName)
        The name of the application server which will uniquely identify it in a project.
      • getLocalRemoteWebsphereDeploy

        public boolean getLocalRemoteWebsphereDeploy()
        Deploy Archive to a local/remote websphere server
      • setLocalRemoteWebsphereDeploy

        public void setLocalRemoteWebsphereDeploy​(boolean LocalRemoteWebsphereDeploy)
        Deploy Archive to a local/remote websphere server
      • getSaveArchiveWebsphere

        public boolean getSaveArchiveWebsphere()
        Do not deploy now. Save the Archive locally; I will deploy it later
      • setSaveArchiveWebsphere

        public void setSaveArchiveWebsphere​(boolean SaveArchiveWebsphere)
        Do not deploy now. Save the Archive locally; I will deploy it later
      • getWebsphereDependencyPath

        public java.lang.String getWebsphereDependencyPath()
        Path to the websphere admin client dependency library
      • setWebsphereDependencyPath

        public void setWebsphereDependencyPath​(java.lang.String WebsphereDependencyPath)
        Path to the websphere admin client dependency library