Snapper 1.1 API

org.enhydra.snapper
Class Snapper

java.lang.Object
  extended by com.lutris.appserver.server.StandardApplication
      extended by org.enhydra.snapper.Snapper
All Implemented Interfaces:
com.lutris.appserver.server.Application

public class Snapper
extends com.lutris.appserver.server.StandardApplication

The application object. Application-wide data would go here.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.lutris.appserver.server.StandardApplication
com.lutris.appserver.server.StandardApplication.ContextMBean
 
Field Summary
protected static java.lang.String documentGroupConfFile
           
protected static java.lang.String fileSeparator
           
protected static java.lang.String googleClientKey
           
protected static int googleResultLimit
           
protected static java.lang.String googleServiceURL
           
protected static java.lang.String highlightFuzzyQuery
           
protected static java.lang.String indexDir
           
static com.lutris.logging.LogChannel log
           
protected static int maxRange
           
protected static java.lang.String metaURL
           
protected static java.lang.String parseOnFly
           
protected static java.lang.String previewURL
           
 java.util.Properties prop
           
protected static java.lang.String relativeIndexPath
           
protected static int reReadConfigFilesEveryMinutes
           
protected static java.lang.String resultDatePattern
           
protected static java.lang.String searchDatePattern
           
protected static java.lang.String searcherClassName
           
protected static java.lang.String simpleSearchType
           
protected static java.lang.String siteConfFile
           
 SnapperManager snapperManager
           
protected static java.lang.String statisticDirectory
           
protected static boolean toLogStatistic
           
protected static java.lang.String version
           
protected static java.lang.String xslDirectory
           
 
Fields inherited from class com.lutris.appserver.server.StandardApplication
appConfigMBean, appName, config, contextMBean, data, databaseManager, databaseManagerMBean, databaseMBean, defaultUrl, jivanFactory, logChannel, logger, loggerSys, postProcessingManager, preProcessingManager, presentationManager, presentationManagerMBean, sendCookieForNewSession, server, sessionManager, sessionManagerMBean, state, tableMBean, tableMBeans, xmlcFactory
 
Fields inherited from interface com.lutris.appserver.server.Application
DEAD, HALTED, INCOMPLETE, RUNNING, STOPPED
 
Constructor Summary
Snapper()
           
 
Method Summary
static java.lang.String getFileSeparatorConvention()
           
static java.lang.String getGoogleClientKey()
           
static int getGoogleResultLimit()
           
static java.lang.String getGoogleServiceURL()
           
static java.lang.String getHighlightFuzzyQuery()
           
static java.lang.String getIndexDir()
           
static com.lutris.logging.LogChannel getLogChanel()
           
static int getMaxRange()
           
static java.lang.String getMetaURL()
           
static java.lang.String getParseOnFly()
           
static java.lang.String getPreviewURL()
           
static java.lang.String getRelativeIndexPath()
           
static int getReReadConfigFilesEveryMinutes()
           
static java.lang.String getResultDatePattern()
           
static java.lang.String getSearchDatePattern()
           
static java.lang.String getSearcherClassName()
           
static java.lang.String getSimpleSearchType()
           
static boolean getStatisticActive()
           
static java.lang.String getStatisticDirectory()
           
static java.lang.String getXslDirectory()
           
 boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
           
static void setPreviewURL(java.lang.String value)
           
 void shutdown()
           
 void startup(com.lutris.util.Config appConfig)
           
 java.lang.String toHtml()
           
 
Methods inherited from class com.lutris.appserver.server.StandardApplication
createDatabaseManager, createPostProcessingManager, createPreProcessingManager, createSession, createSessionManager, encodeUrl, encodeUrl, ensureSession, getConfig, getDatabaseManager, getHttpPresentationManager, getJivanFactory, getLogChannel, getName, getSessionManager, getState, getXMLCFactory, initDodsAsyncCaches, initDodsAsyncCaches, initializeNewSession, printCopyrightHeader, requestPostProcessor, restartup, servletRequestPreprocessor, setCookieForNewSession, setHttpPresentationManager, setJivanFactory, setLogChannel, setName, setXMLCFactory, shutdownWithoutMBeanUnRegistration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected static java.lang.String version

indexDir

protected static java.lang.String indexDir

searcherClassName

protected static java.lang.String searcherClassName

xslDirectory

protected static java.lang.String xslDirectory

metaURL

protected static java.lang.String metaURL

maxRange

protected static int maxRange

relativeIndexPath

protected static java.lang.String relativeIndexPath

parseOnFly

protected static java.lang.String parseOnFly

fileSeparator

protected static java.lang.String fileSeparator

highlightFuzzyQuery

protected static java.lang.String highlightFuzzyQuery

searchDatePattern

protected static java.lang.String searchDatePattern

resultDatePattern

protected static java.lang.String resultDatePattern

googleClientKey

protected static java.lang.String googleClientKey

googleServiceURL

protected static java.lang.String googleServiceURL

simpleSearchType

protected static java.lang.String simpleSearchType

googleResultLimit

protected static int googleResultLimit

log

public static com.lutris.logging.LogChannel log

previewURL

protected static java.lang.String previewURL

siteConfFile

protected static java.lang.String siteConfFile

documentGroupConfFile

protected static java.lang.String documentGroupConfFile

statisticDirectory

protected static java.lang.String statisticDirectory

toLogStatistic

protected static boolean toLogStatistic

prop

public java.util.Properties prop

snapperManager

public SnapperManager snapperManager

reReadConfigFilesEveryMinutes

protected static int reReadConfigFilesEveryMinutes
Constructor Detail

Snapper

public Snapper()
Method Detail

startup

public void startup(com.lutris.util.Config appConfig)
             throws com.lutris.appserver.server.ApplicationException
Specified by:
startup in interface com.lutris.appserver.server.Application
Overrides:
startup in class com.lutris.appserver.server.StandardApplication
Throws:
com.lutris.appserver.server.ApplicationException

requestPreprocessor

public boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
                            throws java.lang.Exception
Specified by:
requestPreprocessor in interface com.lutris.appserver.server.Application
Overrides:
requestPreprocessor in class com.lutris.appserver.server.StandardApplication
Throws:
java.lang.Exception

shutdown

public void shutdown()
Specified by:
shutdown in interface com.lutris.appserver.server.Application
Overrides:
shutdown in class com.lutris.appserver.server.StandardApplication

toHtml

public java.lang.String toHtml()
Overrides:
toHtml in class com.lutris.appserver.server.StandardApplication

getIndexDir

public static java.lang.String getIndexDir()

getSearcherClassName

public static java.lang.String getSearcherClassName()

getXslDirectory

public static java.lang.String getXslDirectory()

getMetaURL

public static java.lang.String getMetaURL()

getSimpleSearchType

public static java.lang.String getSimpleSearchType()

getMaxRange

public static int getMaxRange()

getRelativeIndexPath

public static java.lang.String getRelativeIndexPath()

getFileSeparatorConvention

public static java.lang.String getFileSeparatorConvention()

getHighlightFuzzyQuery

public static java.lang.String getHighlightFuzzyQuery()

getLogChanel

public static com.lutris.logging.LogChannel getLogChanel()

getPreviewURL

public static java.lang.String getPreviewURL()

setPreviewURL

public static void setPreviewURL(java.lang.String value)

getGoogleServiceURL

public static java.lang.String getGoogleServiceURL()

getGoogleClientKey

public static java.lang.String getGoogleClientKey()

getSearchDatePattern

public static java.lang.String getSearchDatePattern()

getResultDatePattern

public static java.lang.String getResultDatePattern()

getGoogleResultLimit

public static int getGoogleResultLimit()

getStatisticDirectory

public static java.lang.String getStatisticDirectory()

getStatisticActive

public static boolean getStatisticActive()

getReReadConfigFilesEveryMinutes

public static int getReReadConfigFilesEveryMinutes()

getParseOnFly

public static java.lang.String getParseOnFly()

Snapper 1.1 API