org.enhydra.snapper
Class Snapper
java.lang.Object
com.lutris.appserver.server.StandardApplication
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 classes/interfaces inherited from class com.lutris.appserver.server.StandardApplication |
com.lutris.appserver.server.StandardApplication.ContextMBean |
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 |
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 |
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
Snapper
public Snapper()
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()