Class BasicConnection

  • All Implemented Interfaces:
    Connection

    public class BasicConnection
    extends java.lang.Object
    implements Connection
    This simple object shows how to set up a vSphere connection as it was done in vSphere 4.x and is provided as a reference for anyone working with older vSphere servers that do not support modern SSO features. It is intended as a utility class for use by Samples that will need to connect before they can do anything useful. This is a light weight POJO that should be very easy to reuse later.

    Samples that need a connection open before they can do anything useful extend ConnectedVimServiceBase so that the code in those samples can focus on demonstrating the feature at hand. The logic of most samples will not be changed by the use of the BasicConnection or the SsoConnection.

    See Also:
    ConnectedVimServiceBase