com.vmware.apputils
Class SmAppUtil

java.lang.Object
  extended by com.vmware.apputils.AppUtil
      extended by com.vmware.apputils.SmAppUtil

public class SmAppUtil
extends com.vmware.apputils.AppUtil


Field Summary
 
Fields inherited from class com.vmware.apputils.AppUtil
log
 
Constructor Summary
SmAppUtil(java.lang.String name)
           
 
Method Summary
 void connect()
           
 void disConnect()
           
 SmServiceConnection getSmConnection()
           
static SmAppUtil initialize(java.lang.String name, com.vmware.apputils.OptionSpec[] userOptions, java.lang.String[] args)
           
static SmAppUtil initialize(java.lang.String name, java.lang.String[] args)
           
 void setup()
           
 
Methods inherited from class com.vmware.apputils.AppUtil
addOptions, ALog, displayUsage, get_option, getAppName, getConnection, getLog, getPassword, getServiceUrl, getServiceUtil, getUsername, getUtil, init, initConnection, loadSession, option_is_set, parseInput, saveSession, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmAppUtil

public SmAppUtil(java.lang.String name)
Method Detail

initialize

public static SmAppUtil initialize(java.lang.String name,
                                   com.vmware.apputils.OptionSpec[] userOptions,
                                   java.lang.String[] args)
                            throws java.lang.Exception
Throws:
java.lang.Exception

initialize

public static SmAppUtil initialize(java.lang.String name,
                                   java.lang.String[] args)
                            throws java.lang.Exception
Throws:
java.lang.Exception

setup

public void setup()
Overrides:
setup in class com.vmware.apputils.AppUtil

connect

public void connect()
             throws java.lang.Exception
Overrides:
connect in class com.vmware.apputils.AppUtil
Throws:
java.lang.Exception

disConnect

public void disConnect()
                throws java.lang.Exception
Overrides:
disConnect in class com.vmware.apputils.AppUtil
Throws:
java.lang.Exception

getSmConnection

public SmServiceConnection getSmConnection()
Returns:
the service connection object