public class VanillaWindowsProcessWinRmDriver extends AbstractSoftwareProcessWinRmDriver implements VanillaWindowsProcessDriver
| Constructor and Description |
|---|
VanillaWindowsProcessWinRmDriver(EntityLocal entity,
WinRmMachineLocation location) |
| Modifier and Type | Method and Description |
|---|---|
void |
customize() |
void |
install() |
boolean |
isRunning()
Whether the entity components have started.
|
void |
launch() |
void |
start()
Start the entity.
|
void |
stop()
Performs software stop (or queues tasks to do this)
|
copyResource, copyResource, copyTo, copyTo, execute, executeNativeCommand, executeNativeOrPsCommand, executePsCommand, executePsScript, executePsScriptNoRetry, getInstallDir, getLocation, getMachine, getRunDir, rebootAndWait, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setupcopyInstallResources, copyPreInstallResources, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getArchiveNameFormat, getEntity, getResource, getResourceAsString, getVersion, kill, postLaunch, preInstall, prepare, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restartequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntity, kill, rebind, restartgetLocationpublic VanillaWindowsProcessWinRmDriver(EntityLocal entity, WinRmMachineLocation location)
public void start()
AbstractSoftwareProcessDriver
This installs, configures and launches the application process. However,
users can also call the AbstractSoftwareProcessDriver.install(), AbstractSoftwareProcessDriver.customize() and
AbstractSoftwareProcessDriver.launch() steps independently. The AbstractSoftwareProcessDriver.postLaunch() will
be called after the AbstractSoftwareProcessDriver.launch() metheod is executed, but the
process may not be completely initialised at this stage, so care is
required when implementing these stages.
The BrooklynConfigKeys#ENTITY_STARTED key can be set on the location
or the entity to skip the startup process if the entity is already running,
according to the SoftwareProcessDriver.isRunning() method. To force the startup to be
skipped, BrooklynConfigKeys.SKIP_ENTITY_START can be set on the entity.
The BrooklynConfigKeys.SKIP_ENTITY_INSTALLATION key can also be used to
skip the AbstractSoftwareProcessDriver.setup(), AbstractSoftwareProcessDriver.copyInstallResources() and
AbstractSoftwareProcessDriver.install() methods if set on the entity or location.
start in interface SoftwareProcessDriverstart in class AbstractSoftwareProcessDriverAbstractSoftwareProcessDriver.stop()public void install()
install in class AbstractSoftwareProcessDriverpublic void customize()
customize in class AbstractSoftwareProcessDriverpublic void launch()
launch in class AbstractSoftwareProcessDriverpublic boolean isRunning()
SoftwareProcessDriverisRunning in interface SoftwareProcessDriverpublic void stop()
SoftwareProcessDriverstop in interface SoftwareProcessDriverstop in class AbstractSoftwareProcessDriverStartable.stop()