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

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.entities.HostBean>
                      extended by com.hyper9.vangaea.server.rest.virt.HostResource

public class HostResource
extends VirtResource<com.hyper9.uvapi.types.virt.resources.entities.HostBean>

A resource for processing and returning host beans.

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
HostResource()
           
 
Method Summary
 java.util.List<com.hyper9.uvapi.types.virt.resources.entities.HostBean> 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

HostResource

public HostResource()
Method Detail

getBeans

public java.util.List<com.hyper9.uvapi.types.virt.resources.entities.HostBean> 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.resources.entities.HostBean>
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.