Class GlassFish4xInstalledLocalDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- org.codehaus.cargo.container.glassfish.internal.AbstractGlassFishInstalledLocalDeployer
-
- org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalDeployer
-
- org.codehaus.cargo.container.glassfish.GlassFish4xInstalledLocalDeployer
-
- Direct Known Subclasses:
GlassFish5xInstalledLocalDeployer
public class GlassFish4xInstalledLocalDeployer extends GlassFish3xInstalledLocalDeployer
GlassFish 4.x installed local deployer, which uses the GlassFish asadmin to deploy and undeploy applications.
-
-
Constructor Summary
Constructors Constructor Description GlassFish4xInstalledLocalDeployer(InstalledLocalContainer localContainer)
Calls parent constructor, which saves the container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateDefaultPrincipalToRoleMapping()
Does not do anything since GlassFish 3.x support was not tested.void
createFileUser(User user)
Does not do anything since GlassFish 3.x support was not tested.-
Methods inherited from class org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalDeployer
deployDatasource, deployResource, doDeploy, isJakartaEe, undeploy, undeployDatasource
-
Methods inherited from class org.codehaus.cargo.container.glassfish.internal.AbstractGlassFishInstalledLocalDeployer
addConnectOptions, addDeploymentArguments, addUndeploymentArguments, cutExtension, deploy, getLocalContainer, getType, redeploy, redeploy, start, stop
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
getContainer, getFileHandler
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
GlassFish4xInstalledLocalDeployer
public GlassFish4xInstalledLocalDeployer(InstalledLocalContainer localContainer)
Calls parent constructor, which saves the container.- Parameters:
localContainer
- Container.
-
-
Method Detail
-
createFileUser
public void createFileUser(User user)
Does not do anything since GlassFish 3.x support was not tested. Callscreate-file-user
via asadmin to register a user.- Overrides:
createFileUser
in classGlassFish3xInstalledLocalDeployer
- Parameters:
user
- user to register
-
activateDefaultPrincipalToRoleMapping
public void activateDefaultPrincipalToRoleMapping()
Does not do anything since GlassFish 3.x support was not tested. Activates the default principal to role mapping. This allows groups defined incargo.servlet.users
to be used as the roles for the application.- Overrides:
activateDefaultPrincipalToRoleMapping
in classGlassFish3xInstalledLocalDeployer
-
-