A number of Java classes are available to enable connectivity to switches and other capabilities. These objects can be constructed and used from any script.