fr.cnes.sitools.solr
Class SolrApplication

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.solr.SolrApplication

public final class SolrApplication
extends SitoolsApplication

SitoolsApplication with embedded Solr for standard secure access

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
SolrApplication(org.restlet.Context context)
          SolrApplication constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 java.lang.String getSolrDirectory()
          Gets the solrDirectory value
 java.lang.String getSolrDirectoryTemplate()
          Gets the solrDirectoryTemplate value
 void setSolrDirectory(java.lang.String solrDirectory)
          Sets the value of solrDirectory
 void setSolrDirectoryTemplate(java.lang.String solrDirectoryTemplate)
          Sets the value of solrDirectoryTemplate
 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

SolrApplication

public SolrApplication(org.restlet.Context context)
SolrApplication constructor

Parameters:
context - the context of the SolrApplication
Method Detail

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

createInboundRoot

public org.restlet.Restlet createInboundRoot()

getSolrDirectory

public java.lang.String getSolrDirectory()
Gets the solrDirectory value

Returns:
the solrDirectory

setSolrDirectory

public void setSolrDirectory(java.lang.String solrDirectory)
Sets the value of solrDirectory

Parameters:
solrDirectory - the solrDirectory to set

getSolrDirectoryTemplate

public java.lang.String getSolrDirectoryTemplate()
Gets the solrDirectoryTemplate value

Returns:
the solrDirectoryTemplate

setSolrDirectoryTemplate

public void setSolrDirectoryTemplate(java.lang.String solrDirectoryTemplate)
Sets the value of solrDirectoryTemplate

Parameters:
solrDirectoryTemplate - the solrDirectoryTemplate to set

getApplicationInfo

public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request,
                                                               org.restlet.Response response)
Overrides:
getApplicationInfo in class SitoolsApplication


Copyright © 2010-2013 CNES. All Rights Reserved.