|
||||||||||
| 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.datasource.mongodb.MongoDBDataSourceAdministration
public final class MongoDBDataSourceAdministration
Application for managing JDBC Data Sources (JDBC at first time)
| Constructor Summary | |
|---|---|
MongoDBDataSourceAdministration(org.restlet.routing.Router parentRouter,
org.restlet.Context context)
Constructor with component to activate DataSources |
|
| Method Summary | |
|---|---|
void |
attachDataSource(MongoDBDataSource ds)
Create and attach a DBExplorerApplication according to the MongoDBDataSource definition |
org.restlet.Restlet |
createInboundRoot()
|
void |
detachDataSource(SitoolsDataSourceModel ds)
Detach the DBExplorerApplication corresponding to the MongoDBDataSource identifier |
void |
detachDataSourceDefinitif(SitoolsDataSourceModel ds)
Remove DBExplorerApplication and MongoDBDataSource |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
SitoolsStore<MongoDBDataSource> |
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 MongoDBDataSourceAdministration(org.restlet.routing.Router parentRouter,
org.restlet.Context context)
parentRouter - for attaching DataSource explorer applicationscontext - RESTlet application context| Method Detail |
|---|
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe in class SitoolsApplicationpublic org.restlet.Restlet createInboundRoot()
public void attachDataSource(MongoDBDataSource ds)
ds - MongoDBDataSourcepublic void detachDataSource(SitoolsDataSourceModel ds)
ds - MongoDBDataSourcepublic void detachDataSourceDefinitif(SitoolsDataSourceModel ds)
ds - MongoDBDataSource objectpublic SitoolsStore<MongoDBDataSource> getStore()
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 | |||||||||