fr.cnes.sitools.datasource.mongodb.dbexplorer
Class MongoDBExplorerApplication

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.datasource.mongodb.dbexplorer.MongoDBExplorerApplication

public final class MongoDBExplorerApplication
extends SitoolsApplication

Finder mapping a database resource

Author:
jp.boignard (AKKA Technologies)

Field Summary
static java.lang.String CONTEXT_KEY
          Context key
 
Constructor Summary
MongoDBExplorerApplication(org.restlet.Context context, SitoolsMongoDBDataSource dataSource)
          Constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
          -------------------------------------------------------------------------- -----------------------
 SitoolsMongoDBDataSource getDataSource()
          Get the DataSource
 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, getApplicationInfo, 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
 

Field Detail

CONTEXT_KEY

public static final java.lang.String CONTEXT_KEY
Context key

Constructor Detail

MongoDBExplorerApplication

public MongoDBExplorerApplication(org.restlet.Context context,
                                  SitoolsMongoDBDataSource dataSource)
Constructor

Parameters:
context - RESTlet Host Context
dataSource - SQL DataSource
Method Detail

getDataSource

public SitoolsMongoDBDataSource getDataSource()
Get the DataSource

Returns:
the DataSource

createInboundRoot

public org.restlet.Restlet createInboundRoot()
-------------------------------------------------------------------------- -----------------------


sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: SitoolsApplication
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.

Specified by:
sitoolsDescribe in class SitoolsApplication


Copyright © 2010-2013 CNES. All Rights Reserved.