Package com.zerog.ia.auto.project
Class JEEHost
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.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 Summary
Constructors Constructor Description JEEHost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAuthenticate()
Whether or not authentication is required.boolean
getBundleLocalLibraries()
Whether or not to bundle the connection libraries from the server installed locally.java.util.Vector<JEEHostable>
getChildren()
The actions to be executed on the server, like theDeployAppArchive
action.java.lang.String
getConnectionName()
The name of the application server which will uniquely identify it in a project.java.lang.String
getHostname()
The URL to access the server.boolean
getLocalRemoteWebsphereDeploy()
Deploy Archive to a local/remote websphere serverboolean
getLocalTomcatDeploy()
Deploy WAR to a local Apache Tomcatjava.lang.String
getPassword()
The password to authenticate to the server.java.lang.String
getPort()
The port for the application server to interact.boolean
getRemoteTomcatDeploy()
Deploy WAR to a remote Apache Tomcatboolean
getSaveArchiveWebsphere()
Do not deploy now.java.lang.String
getServerName()
The name of the application server which will uniquely identify it in a project.java.lang.String
getServerPath()
The path to the server.JEEServerType
getServerType()
The type of application server with which the installer must interact.boolean
getTomcatDoNotDeploy()
Do not deploy now.java.lang.String
getUsername()
The username to authenticate to the server.java.lang.String
getWebsphereDependencyPath()
Path to the websphere admin client dependency libraryvoid
setAuthenticate(boolean Authenticate)
Whether or not authentication is required.void
setBundleLocalLibraries(boolean BundleLocalLibraries)
Whether or not to bundle the connection libraries from the server installed locally.void
setConnectionName(java.lang.String ConnectionName)
The name of the application server which will uniquely identify it in a project.void
setHostname(java.lang.String Hostname)
The URL to access the server.void
setLocalRemoteWebsphereDeploy(boolean LocalRemoteWebsphereDeploy)
Deploy Archive to a local/remote websphere servervoid
setLocalTomcatDeploy(boolean LocalTomcatDeploy)
Deploy WAR to a local Apache Tomcatvoid
setPassword(java.lang.String Password)
The password to authenticate to the server.void
setPort(java.lang.String Port)
The port for the application server to interact.void
setRemoteTomcatDeploy(boolean RemoteTomcatDeploy)
Deploy WAR to a remote Apache Tomcatvoid
setSaveArchiveWebsphere(boolean SaveArchiveWebsphere)
Do not deploy now.void
setServerName(java.lang.String ServerName)
The name of the application server which will uniquely identify it in a project.void
setServerPath(java.lang.String ServerPath)
The path to the server.void
setServerType(JEEServerType ServerType)
The type of application server with which the installer must interact.void
setTomcatDoNotDeploy(boolean TomcatDoNotDeploy)
Do not deploy now.void
setUsername(java.lang.String Username)
The username to authenticate to the server.void
setWebsphereDependencyPath(java.lang.String WebsphereDependencyPath)
Path to the websphere admin client dependency library-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
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.
-
getServerType
public JEEServerType getServerType()
The type of application server with which the installer must interact.
-
setServerType
public void setServerType(JEEServerType ServerType)
The type of application server with which the installer must interact.
-
getChildren
public java.util.Vector<JEEHostable> getChildren()
The actions to be executed on the server, like theDeployAppArchive
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
-
-