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 booleangetAuthenticate()Whether or not authentication is required.booleangetBundleLocalLibraries()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 theDeployAppArchiveaction.java.lang.StringgetConnectionName()The name of the application server which will uniquely identify it in a project.java.lang.StringgetHostname()The URL to access the server.booleangetLocalRemoteWebsphereDeploy()Deploy Archive to a local/remote websphere serverbooleangetLocalTomcatDeploy()Deploy WAR to a local Apache Tomcatjava.lang.StringgetPassword()The password to authenticate to the server.java.lang.StringgetPort()The port for the application server to interact.booleangetRemoteTomcatDeploy()Deploy WAR to a remote Apache TomcatbooleangetSaveArchiveWebsphere()Do not deploy now.java.lang.StringgetServerName()The name of the application server which will uniquely identify it in a project.java.lang.StringgetServerPath()The path to the server.JEEServerTypegetServerType()The type of application server with which the installer must interact.booleangetTomcatDoNotDeploy()Do not deploy now.java.lang.StringgetUsername()The username to authenticate to the server.java.lang.StringgetWebsphereDependencyPath()Path to the websphere admin client dependency libraryvoidsetAuthenticate(boolean Authenticate)Whether or not authentication is required.voidsetBundleLocalLibraries(boolean BundleLocalLibraries)Whether or not to bundle the connection libraries from the server installed locally.voidsetConnectionName(java.lang.String ConnectionName)The name of the application server which will uniquely identify it in a project.voidsetHostname(java.lang.String Hostname)The URL to access the server.voidsetLocalRemoteWebsphereDeploy(boolean LocalRemoteWebsphereDeploy)Deploy Archive to a local/remote websphere servervoidsetLocalTomcatDeploy(boolean LocalTomcatDeploy)Deploy WAR to a local Apache TomcatvoidsetPassword(java.lang.String Password)The password to authenticate to the server.voidsetPort(java.lang.String Port)The port for the application server to interact.voidsetRemoteTomcatDeploy(boolean RemoteTomcatDeploy)Deploy WAR to a remote Apache TomcatvoidsetSaveArchiveWebsphere(boolean SaveArchiveWebsphere)Do not deploy now.voidsetServerName(java.lang.String ServerName)The name of the application server which will uniquely identify it in a project.voidsetServerPath(java.lang.String ServerPath)The path to the server.voidsetServerType(JEEServerType ServerType)The type of application server with which the installer must interact.voidsetTomcatDoNotDeploy(boolean TomcatDoNotDeploy)Do not deploy now.voidsetUsername(java.lang.String Username)The username to authenticate to the server.voidsetWebsphereDependencyPath(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 theDeployAppArchiveaction.
-
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
-
-