org.inria.myriads.snoozenode.bootstrap
Class BootstrapResource

java.lang.Object
  extended by org.restlet.resource.Resource
      extended by org.restlet.resource.UniformResource
          extended by org.restlet.resource.ServerResource
              extended by org.inria.myriads.snoozenode.bootstrap.BootstrapResource
All Implemented Interfaces:
org.inria.myriads.snoozecommon.communication.rest.api.BootstrapAPI

public final class BootstrapResource
extends org.restlet.resource.ServerResource
implements org.inria.myriads.snoozecommon.communication.rest.api.BootstrapAPI

Bootstrap resource.

Author:
Eugen Feller

Constructor Summary
BootstrapResource()
          Constructor.
 
Method Summary
 org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription getGroupLeaderDescription()
          Assign local controller to a group manager.
 
Methods inherited from class org.restlet.resource.ServerResource
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
 
Methods inherited from class org.restlet.resource.Resource
doError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapResource

public BootstrapResource()
Constructor.

Method Detail

getGroupLeaderDescription

public org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription getGroupLeaderDescription()
Assign local controller to a group manager. (called by the local controller)

Specified by:
getGroupLeaderDescription in interface org.inria.myriads.snoozecommon.communication.rest.api.BootstrapAPI
Returns:
The group leader description


Copyright © 2012. All Rights Reserved.