|
||||||||||
| 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.jdbc.JDBCDataSourceAdministration
public final class JDBCDataSourceAdministration
Application for managing JDBC Data Sources (JDBC at first time)
| Constructor Summary | |
|---|---|
JDBCDataSourceAdministration(org.restlet.routing.Router parentRouter,
org.restlet.Context context)
Constructor with component to activate DataSources |
|
| Method Summary | |
|---|---|
void |
attachDataSource(JDBCDataSource ds)
Create and attach a DBExplorerApplication according to the JDBCDataSource definition |
org.restlet.Restlet |
createInboundRoot()
|
void |
detachDataSource(JDBCDataSource ds)
Detach the DBExplorerApplication corresponding to the JDBCDataSource identifier |
void |
detachDataSourceDefinitif(JDBCDataSource ds)
Remove DBExplorerApplication and JDBCDataSource |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
SitoolsStore<JDBCDataSource> |
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 JDBCDataSourceAdministration(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(JDBCDataSource ds)
ds - JDBCDataSourcepublic void detachDataSource(JDBCDataSource ds)
ds - JDBCDataSourcepublic void detachDataSourceDefinitif(JDBCDataSource ds)
ds - JDBCDataSource objectpublic SitoolsStore<JDBCDataSource> 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 | |||||||||