|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectExtendedWadlApplication
fr.cnes.sitools.common.application.SitoolsApplication
fr.cnes.sitools.notification.NotificationApplication
public final class NotificationApplication
Notification application
| Constructor Summary | |
|---|---|
NotificationApplication(org.restlet.Context context)
Constructor |
|
| Method Summary | |
|---|---|
void |
attachTrigger(java.lang.String eventName,
java.lang.Class<?> targetClass)
Attach trigger to a class |
org.restlet.Restlet |
createInboundRoot()
|
void |
detachTrigger(java.lang.String eventName)
Detach trigger |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
NotificationManager |
getEngine()
Gets the engine value |
NotificationStore |
getStore()
Gets the store value |
java.util.Map<java.lang.String,java.lang.Class<?>> |
getTriggerTable()
Get the table of triggers |
void |
registerEvent(java.lang.String eventName)
register a new event if it does not ever registered |
void |
setEngine(NotificationManager engine)
Sets the value of engine |
void |
sitoolsDescribe()
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality. |
void |
unregisterEvent(java.lang.String eventName)
Unregister an event |
| Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication |
|---|
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationApplication(org.restlet.Context context)
context - Restlet Host context| Method Detail |
|---|
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe in class SitoolsApplicationpublic org.restlet.Restlet createInboundRoot()
public NotificationManager getEngine()
public void setEngine(NotificationManager engine)
engine - the engine to setpublic NotificationStore getStore()
public void attachTrigger(java.lang.String eventName,
java.lang.Class<?> targetClass)
eventName - the name of the event to triggertargetClass - the class targetedpublic void detachTrigger(java.lang.String eventName)
eventName - event name to detachpublic void registerEvent(java.lang.String eventName)
eventName - the event name to registerpublic void unregisterEvent(java.lang.String eventName)
eventName - the name of the event to unregisterpublic java.util.Map<java.lang.String,java.lang.Class<?>> getTriggerTable()
public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
getApplicationInfo in class SitoolsApplication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||