Package com.vmware.connection
Class VCenterSampleBase
- java.lang.Object
-
- com.vmware.connection.ConnectedVimServiceBase
-
- com.vmware.connection.VCenterSampleBase
-
- Direct Known Subclasses:
Browser,GetHostName
public class VCenterSampleBase extends ConnectedVimServiceBase
Some samples must use a VCenter to make any sense. For example an inventory browser makes no sense on an ESX host. Samples based on this base class should not be used with non vCenter servers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vmware.connection.ConnectedVimServiceBase
ConnectedVimServiceBase.ConnectionException
-
-
Field Summary
-
Fields inherited from class com.vmware.connection.ConnectedVimServiceBase
PROP_ME_NAME, SVC_INST_NAME
-
-
Constructor Summary
Constructors Constructor Description VCenterSampleBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connectionconnect()connects this object, returns itself to allow for method chaining-
Methods inherited from class com.vmware.connection.ConnectedVimServiceBase
basicConnectionFromConnection, disconnect, getServiceInstanceReference, setConnection, setHostConnection
-
-
-
-
Method Detail
-
connect
@Before public Connection connect()
Description copied from class:ConnectedVimServiceBaseconnects this object, returns itself to allow for method chaining- Overrides:
connectin classConnectedVimServiceBase- Returns:
- a connected reference to itself.
-
-