|
||||||||||
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.plugins.applications.ApplicationPluginApplication
public final class ApplicationPluginApplication
Application to handle ApplicationPluginModel. It offers a CRUD on ApplicationPluginModel and instantiate and attach new Applications
Constructor Summary | |
---|---|
ApplicationPluginApplication(org.restlet.routing.Router parentRouter,
org.restlet.Context context)
Constructor |
Method Summary | |
---|---|
void |
attachApplication(ApplicationPluginModel model,
boolean start)
Create and attach a DataSetApplication according to the given DataSet object |
org.restlet.Restlet |
createInboundRoot()
|
void |
detachApplication(ApplicationPluginModel model)
Detach the application according to the given ApplicationPluginModel object |
void |
detachApplicationDefinively(ApplicationPluginModel appOutput)
Detach definitively the application according to the given ApplicationPluginModel object |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
ApplicationPluginStore |
getStore()
Gets the store value |
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. |
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 ApplicationPluginApplication(org.restlet.routing.Router parentRouter, org.restlet.Context context)
parentRouter
- the parent Routercontext
- Restlet Host ContextMethod Detail |
---|
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe
in class SitoolsApplication
public org.restlet.Restlet createInboundRoot()
public ApplicationPluginStore getStore()
public void attachApplication(ApplicationPluginModel model, boolean start) throws java.lang.Exception
model
- the modelstart
- indicates if the application has to be started
java.lang.Exception
- when attach failspublic void detachApplication(ApplicationPluginModel model)
model
- ApplicationPluginModel objectpublic void detachApplicationDefinively(ApplicationPluginModel appOutput)
appOutput
- the ApplicationPluginModelpublic 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 |