com.hyper9.vangaea.server.rest.virt
Class VirtualMachineActionResource

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by com.hyper9.vangaea.server.rest.BaseResource<T>
              extended by com.hyper9.vangaea.server.rest.AuthdResource<T>
                  extended by com.hyper9.vangaea.server.rest.virt.VirtResource<B>
                      extended by com.hyper9.vangaea.server.rest.virt.VirtualMachineBaseResource<com.hyper9.uvapi.types.virt.TaskBean>
                          extended by com.hyper9.vangaea.server.rest.virt.VirtualMachineActionResource

public class VirtualMachineActionResource
extends VirtualMachineBaseResource<com.hyper9.uvapi.types.virt.TaskBean>

A resource class for processing virtual machine actions and returning task beans.

Author:
akutz

Field Summary
 
Fields inherited from class com.hyper9.vangaea.server.rest.virt.VirtualMachineBaseResource
hostID
 
Fields inherited from class com.hyper9.vangaea.server.rest.virt.VirtResource
myBeansObjectID, propsToGet, virtualizationPathPart, virtualizationUri
 
Fields inherited from class com.hyper9.vangaea.server.rest.AuthdResource
authCookie, key, user
 
Fields inherited from class com.hyper9.vangaea.server.rest.BaseResource
conn, initCallbacks, preProcessBeanCallbacks, rootPathPath
 
Constructor Summary
VirtualMachineActionResource()
          Initializes a new instance of the VirtualMachineActionResource class.
 
Method Summary
 java.util.List<com.hyper9.uvapi.types.virt.TaskBean> getBeans(ServerInformationBean server, com.hyper9.uvapi.types.ConnectorBean connector)
          Gets the beans from a server.
 
Methods inherited from class com.hyper9.vangaea.server.rest.virt.VirtResource
getAttr, getBeans, getBeans, getBeanUri, getBeanUriID, getPropertiesToGet, isBatchProcessor
 
Methods inherited from class com.hyper9.vangaea.server.rest.BaseResource
doCatch, doInit, doRelease, get, getAuthCookieName, getAuthCookieValue, getBaseUrl, getRedirectUri, getSystemProperty, isAnnotated, isDefaultHttpPort, isDefaultHttpsPort, isDefaultHttpsPort
 
Methods inherited from class org.restlet.resource.ServerResource
delete, delete, describeVariants, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getPreferredVariant, getVariants, getVariants, handle, head, head, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setChallengeRequests, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setServerInfo, setStatus, setStatus, setStatus, setStatus, setVariants, updateAllowedMethods, updateDimensions
 
Methods inherited from class org.restlet.resource.UniformResource
getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, init, isConfidential, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualMachineActionResource

public VirtualMachineActionResource()
Initializes a new instance of the VirtualMachineActionResource class.

Method Detail

getBeans

public java.util.List<com.hyper9.uvapi.types.virt.TaskBean> getBeans(ServerInformationBean server,
                                                                     com.hyper9.uvapi.types.ConnectorBean connector)
                                                              throws java.lang.Exception
Description copied from class: VirtResource
Gets the beans from a server.

Overrides:
getBeans in class VirtResource<com.hyper9.uvapi.types.virt.TaskBean>
Parameters:
server - The server.
connector - The server's connector.
Returns:
The beans from a server.
Throws:
java.lang.Exception - When an error occurs.


Copyright © 2009 Hyper9. All Rights Reserved.