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

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<com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource>>
                      extended by com.hyper9.vangaea.server.rest.virt.GlobalResource

public class GlobalResource
extends VirtResource<com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource>>

The global resource.

Author:
akutz

Field Summary
 
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
GlobalResource()
           
 
Method Summary
 com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource> getBeans(java.util.List<ServerInformationBean> servers, java.util.Map<ServerInformationBean,com.hyper9.uvapi.types.ConnectorBean> connectors)
          Gets the beans from a group of servers.
 boolean isBatchProcessor()
          Returns a value indicating whether or not this virtualization resource processes the servers one at a time or all at once.
 
Methods inherited from class com.hyper9.vangaea.server.rest.virt.VirtResource
getAttr, getBeans, getBeans, getBeanUri, getBeanUriID, getPropertiesToGet
 
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

GlobalResource

public GlobalResource()
Method Detail

getBeans

public com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource> getBeans(java.util.List<ServerInformationBean> servers,
                                                                                                                                      java.util.Map<ServerInformationBean,com.hyper9.uvapi.types.ConnectorBean> connectors)
                                                                                                                               throws java.lang.Exception
Description copied from class: VirtResource
Gets the beans from a group of servers.

Overrides:
getBeans in class VirtResource<com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource>>
Parameters:
servers - The servers.
connectors - The servers' connectors.
Returns:
The beans from a group of servers.
Throws:
java.lang.Exception - When an error occurs.

isBatchProcessor

public boolean isBatchProcessor()
Description copied from class: VirtResource
Returns a value indicating whether or not this virtualization resource processes the servers one at a time or all at once.

Overrides:
isBatchProcessor in class VirtResource<com.hyper9.uvapi.types.virt.resources.ComputeResourceContainer<com.hyper9.uvapi.types.virt.resources.ComputeResource>>
Returns:
A value indicating whether or not this virtualization resource processes the servers one at a time or all at once.


Copyright © 2009 Hyper9. All Rights Reserved.