java.lang.Object
com.oracle.bedrock.runtime.remote.AbstractRemoteTerminal
com.oracle.bedrock.runtime.remote.windows.winrm.WindowsRemoteTerminal
All Implemented Interfaces:
RemoteTerminal

public class WindowsRemoteTerminal extends AbstractRemoteTerminal
A Windows implementation of a RemoteTerminal that uses the WinRM SOAP service to execute commands.

Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.

Author:
Jonathan Knight
  • Constructor Details

    • WindowsRemoteTerminal

      public WindowsRemoteTerminal(RemotePlatform platform)
      Create a Windows remote shell that will connect to the WinRM service running on the RemotePlatform.
      Parameters:
      platform - the RemotePlatform
  • Method Details

    • launch

      public RemoteApplicationProcess launch(RemoteTerminal.Launchable launchable, Class<? extends com.oracle.bedrock.runtime.Application> applicationClass, com.oracle.bedrock.OptionsByType optionsByType)
    • makeDirectories

      public void makeDirectories(String directoryName, com.oracle.bedrock.OptionsByType optionsByType)
    • moveFile

      public void moveFile(String source, String destination, com.oracle.bedrock.OptionsByType optionsByType)
    • createSession

      protected WindowsSession createSession()
      Create a WindowsSession that can be used to communicate with the WinRM server on the remote host.
      Returns:
      a WindowsSession that can be used to communicate with the WinRM server on the remote host