|
||||||||||
| 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.common.application.SitoolsParameterizedApplication
public abstract class SitoolsParameterizedApplication
Base class for Application that gets parameterized resources
| Constructor Summary | |
|---|---|
SitoolsParameterizedApplication()
Default constructor |
|
SitoolsParameterizedApplication(org.restlet.Context context)
Constructor with context |
|
SitoolsParameterizedApplication(org.restlet.Context context,
org.restlet.representation.Representation wadl)
Constructor with a Context and a Representation |
|
| Method Summary | |
|---|---|
void |
attachParameterizedResources(org.restlet.routing.Router router)
Attach parameterized resources |
void |
detachParameterizedResource(SitoolsParameterizedResource resource)
Method to detach the resource from the application |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
ResourceModel |
getModel(java.lang.String ref)
Get model by reference |
java.util.Map<java.lang.String,ResourceModel> |
getModelMap()
Get the whole model map |
SitoolsStore<ResourceModel> |
getPluginStore()
Gets the pluginStore value |
void |
setModelMap(java.util.Map<java.lang.String,ResourceModel> modelMap)
Sets the value of modelMap |
| 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, sitoolsDescribe, start, stop, unregister, wrapToResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SitoolsParameterizedApplication(org.restlet.Context context)
context - the contextpublic SitoolsParameterizedApplication()
public SitoolsParameterizedApplication(org.restlet.Context context,
org.restlet.representation.Representation wadl)
context - The context to use based on parent component context. This context should be created using the
Context.createChildContext() method to ensure a proper isolation with the other applications.wadl - The WADL description document.| Method Detail |
|---|
public final void attachParameterizedResources(org.restlet.routing.Router router)
router - the routerpublic final void detachParameterizedResource(SitoolsParameterizedResource resource)
resource - the resource to detach
Warning: This method is not used. When a resource is POST / PUT / DELETE the application is entirely
restarted with the new complete list of dynamic resources.public final SitoolsStore<ResourceModel> getPluginStore()
public ResourceModel getModel(java.lang.String ref)
ref - the reference
public java.util.Map<java.lang.String,ResourceModel> getModelMap()
public final void setModelMap(java.util.Map<java.lang.String,ResourceModel> modelMap)
modelMap - the modelMap to set
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 | |||||||||