org.redhat.vmtruckloader.vmware
Class VMWareTemplate
java.lang.Object
org.redhat.vmtruckloader.vmware.VMWareTemplate
public class VMWareTemplate
- extends Object
Helper class that simplifies performing actions in VMWare.
This class manages the lifecycle VMWare ServiceInstances
(i.e. connections).
This implementation is based on the Spring HibernateTemplate
and HibernateCallback
architecture (although a lot simpler).
- Author:
- Duncan Doyle, Romain Pelisse - romain@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMWareTemplate
public VMWareTemplate()
setCredential
public void setCredential(String username,
String password,
URL vCenterURL)
execute
public <T> T execute(VMWareActionCallback<T> action)
Copyright © 2013. All Rights Reserved.