fr.cnes.sitools.notification
Class NotificationResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.notification.NotificationAbstractResource
                  extended by fr.cnes.sitools.notification.NotificationResource

public final class NotificationResource
extends NotificationAbstractResource

Resource for resource subscription / notification

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
NotificationResource()
           
 
Method Summary
 void describePost(org.restlet.ext.wadl.MethodInfo info, java.lang.String path)
           
 org.restlet.representation.Representation notifyObservers(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Register an application
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.notification.NotificationAbstractResource
getNotificationApplication, getObservableUUID, getObserverUUID
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationResource

public NotificationResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

notifyObservers

@Post
public org.restlet.representation.Representation notifyObservers(org.restlet.representation.Representation representation,
                                                                      org.restlet.representation.Variant variant)
Register an application

Parameters:
representation - Representation of a resource
variant - required Variant (if negotiated)
Returns:
Representation

describePost

public void describePost(org.restlet.ext.wadl.MethodInfo info,
                         java.lang.String path)


Copyright © 2010-2013 CNES. All Rights Reserved.