org.glassfish.maven
Class StartMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.glassfish.maven.AbstractServerMojo
org.glassfish.maven.StartMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class StartMojo
- extends AbstractServerMojo
This Mojo starts the GlassFish server with the configured parameters eg., port,
containerType as supplied by the user in the glassfish-maven-plugin configuration.
- Author:
- bhavanishankar@dev.java.net
| Fields inherited from class org.glassfish.maven.AbstractServerMojo |
autoDelete, bootstrapProperties, bootstrapPropertiesFile, classLoaders, CONFIG_FILE_URI_PROP_NAME, configFile, configFileReadOnly, containerType, factory, glassfishProperties, glassfishPropertiesFile, INSTALL_ROOT_PROP_NAME, installRoot, INSTANCE_ROOT_PROP_NAME, instanceRoot, localRepository, PLATFORM_KEY, port, ports, project, projectBuilder, remoteRepositories, resolver, serverID, systemProperties, systemPropertiesFile, thisArtifactId |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
|
void |
startGlassFish(java.lang.String serverId,
java.lang.ClassLoader cl,
java.util.Properties bootstrapProperties,
java.util.Properties glassfishProperties)
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartMojo
public StartMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Specified by:
execute in class AbstractServerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
startGlassFish
public void startGlassFish(java.lang.String serverId,
java.lang.ClassLoader cl,
java.util.Properties bootstrapProperties,
java.util.Properties glassfishProperties)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.